CVE-2026-55403 json
datamodel-code-generator: Authorization / request headers leaked to cross-origin redirect target when fetching remote schemas
published 2026-07-28 3 mo ago modified 2026-10-23 16 d ago also GHSA-r5vv-ff45-prp2 , PYSEC-2026-3563 , EUVD-2026-50070
- cvss
- 3.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 27%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi datamodel-code-generator 0.63.0
- python-datamodel-code-generator openSUSE Tumbleweed 0.72.3-1.1
opensuse advisories openSUSE-SU-2026:11538-1
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3 mo ago
Exploit prediction
0.34% chance of exploitation in the next 30 days, higher than 27% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/koxudaxi/datamodel-code-generator/security/advisories/GHSA-r5vv-ff45-prp2 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | datamodel-code-generator | <0.63.0 |
0.63.0 |
Affected products
- koxudaxi datamodel-code-generator
Classification
References
-
github.com
/koxudaxi/datamodel-code-generator/commit/a585c037c8307b7aae815de193b7fe1c4c44994b
web
-
github.com
/koxudaxi/datamodel-code-generator/security/advisories/GHSA-r5vv-ff45-prp2
exploit, web
-
github.com
/koxudaxi/datamodel-code-generator/releases/tag/0.63.0
web
-
github.com
/koxudaxi/datamodel-code-generator
package
-
pypi.org
/project/datamodel-code-generator
package
-
github.com
/advisories/GHSA-r5vv-ff45-prp2
advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-55403
advisory
Sources
- CVE List CVE-2026-55403
- GitHub Advisory GHSA-r5vv-ff45-prp2
- NVD CVE-2026-55403
- OSV PYSEC-2026-3563
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.