Vulnerability
CVE-2026-55403
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.
5 advisories report this vulnerability, across 3 ecosystems.
Advisories
- CGA-3w2h-gqmh-r8r5
- CGA-j6cw-54jw-32hx
-
GHSA-r5vv-ff45-prp2
datamodel-code-generator: Authorization / request headers leaked to cross-origin redirect target when fetching remote schemas
-
PYSEC-2026-3563
datamodel-code-generator: Authorization / request headers leaked to cross-origin redirect target when fetching remote schemas
-
openSUSE-SU-2026:11538-1
python313-datamodel-code-generator-0.72.3-1.1 on GA media