CVE-2026-55403koxudaxi datamodel-code-generator
Low 3.7 No auth needed
Follow: this CVE · koxudaxi · koxudaxi datamodel-code-generator We alert you by email or Slack (account required).
- Priority
- 37
- CVSS 3.1
- 3.7
- EPSS
- —
- Auth required
- No
- Published
- Jul 28, 2026
- Updated
- Oct 23, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for datamodel-code-generator.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | datamodel-code-generator |
< 0.63.0 |
0.63.0 |
pip install "datamodel-code-generator>=0.63.0" |
| PyPI | datamodel-code-generator |
< 0.63.0 |
0.63.0 |
pip install "datamodel-code-generator>=0.63.0" |
Per OSV / GitHub Advisories (GHSA-r5vv-ff45-prp2, PYSEC-2026-3563). Check the version in your lockfile before upgrading.
Affected products
- koxudaxi · datamodel-code-generator
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- python313-datamodel-code-generator-0.72.3-1.1 on GA media · SUSE · openSUSE-SU-2026:11538-1 · Aug 18, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.