Low severityNVD Advisory· Published Jul 28, 2026· Updated Jul 29, 2026
datamodel-code-generator: Authorization / request headers leaked to cross-origin redirect target when fetching remote schemas
CVE-2026-55403
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
datamodel-code-generatorPyPI | < 0.63.0 | 0.63.0 |
Affected products
2- Range: <0.63.0
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-r5vv-ff45-prp2ghsaADVISORY
- github.com/koxudaxi/datamodel-code-generator/commit/a585c037c8307b7aae815de193b7fe1c4c44994bghsax_refsource_MISCWEB
- github.com/koxudaxi/datamodel-code-generator/releases/tag/0.63.0ghsax_refsource_MISCWEB
- github.com/koxudaxi/datamodel-code-generator/security/advisories/GHSA-r5vv-ff45-prp2ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.