PT-2026-65616

CVE-2026-55403

·

Published

2026-07-28

·

Updated

2026-08-18

Description by

CVSS 3.1
3.7
Low
MetricsAV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions datamodel-code-generator versions prior to 0.63.0
Description When fetching remote schemas, the software re-sends original request headers to redirect targets even if the redirect changes the origin (host, port, or scheme). This occurs within the get body() function in src/datamodel code generator/http.py, which manually follows redirects without verifying if the origin remains the same. Consequently, sensitive headers such as Authorization, Cookie, and Proxy-Authorization can be leaked to an unauthorized or attacker-controlled host if the trusted schema host issues a cross-origin redirect. These leaked credentials could potentially be replayed against the trusted host.
Recommendations Update datamodel-code-generator to version 0.63.0.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-R5VV-FF45-PRP2
OPENSUSE-SU-2026:11538-1
PYSEC-2026-3563
Found an issue in the description? Have something to add? Feel free to write us 👾