CVE-2026-55403
datamodel-code-generator: Authorization / request headers leaked to cross-origin redirect target when fetching remote schemas
CVSS Score
3.7
EPSS Score
0.0%
EPSS Percentile
0th
datamodel-code-generator generates Python data models from schema definitions. Prior to 0.63.0, src/datamodel_code_generator/http.py get_body reuses Authorization, Cookie, and Proxy-Authorization headers when following cross-origin redirects while fetching remote schemas, allowing credentials scoped to one schema host to be leaked to another redirect target. This issue is fixed in version 0.63.0.
| CWE | CWE-200 CWE-601 |
| Vendor | koxudaxi |
| Product | datamodel-code-generator |
| Published | Jul 28, 2026 |
Stay Ahead of the Next One
Get instant alerts for koxudaxi datamodel-code-generator
Be the first to know when new low vulnerabilities affecting koxudaxi datamodel-code-generator are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
Affected Versions
koxudaxi / datamodel-code-generator
< 0.63.0
References
github.com: https://github.com/koxudaxi/datamodel-code-generator/security/advisories/GHSA-r5vv-ff45-prp2 github.com: https://github.com/koxudaxi/datamodel-code-generator/commit/a585c037c8307b7aae815de193b7fe1c4c44994b github.com: https://github.com/koxudaxi/datamodel-code-generator/releases/tag/0.63.0