Information disclosure in koxudaxi datamodel-code-generator
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Information disclosure, Spoofing
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-200 and CWE-601.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| koxudaxi | datamodel-code-generator | before 0.63.0 | 0.63.0 | Patch available | CNA |
| — | datamodel-code-generator (PyPI) | before 0.63.0 | 0.63.0 | Patch available | GHSA-r5vv-ff45-prp2 |
- datamodel-code-generator Vendorkoxudaxi Affected before 0.63.0 Fixed in 0.63.0 Patch available CNA
- datamodel-code-generator (PyPI) Vendor— Affected before 0.63.0 Fixed in 0.63.0 Patch available GHSA-r5vv-ff45-prp2
Remediation
- Fix · CNA datamodel-code-generator (koxudaxi) Fixed in 0.63.0
- Fix · GHSA-r5vv-ff45-prp2 datamodel-code-generator (PyPI) Fixed in 0.63.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-55403
- 2026-10-03 Alias added: GHSA-r5vv-ff45-prp2
References
Other 4
- https://github.com/koxudaxi/datamodel-code-generator/security/advisories/GHSA-r5vv-ff45-prp2
- https://github.com/koxudaxi/datamodel-code-generator/commit/a585c037c8307b7aae815de193b7fe1c4c44994b
- https://github.com/koxudaxi/datamodel-code-generator/releases/tag/0.63.0
- https://github.com/koxudaxi/datamodel-code-generator
More koxudaxi vulnerabilities
- TI-2026-84481 Code injection in fastapi-code-generator via OpenAPI route paths CVSS 4.0CRITICAL 9.3
- TI-2026-84480 Code injection in fastapi-code-generator route docstrings CVSS 4.0CRITICAL 9.3
- TI-2026-39961 Arbitrary local file read via XSD `schemaLocation` (`xs:include`/`xs:import`) path traversal, with no remote-ref gate CVSS 3.1HIGH 7.5
- TI-2026-39960 Information disclosure in koxudaxi datamodel-code-generator CVSS 3.1HIGH 7.5
- TI-2026-39512 datamodel-code-generator vulnerable to SSRF via --url: no host/IP validation, follows redirects CVSS 3.1HIGH 8.2
- TI-2026-39511 datamodel-code-generator vulnerable to SSRF via JSON-Schema `$ref` to HTTP URL (silent by default) CVSS 3.1HIGH 8.2
Sources
- CVE-2026-55403 · CVE Program
- CVE-2026-55403 · NVD
- FIRST EPSS
- GHSA-r5vv-ff45-prp2 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences