HIGH 7.5 NVD
CVE-2026-55390
datamodel-code-generator generates Python data models from schema definitions. From 0.59.0 until 0.62.0, XML Schema parsing in src/datamodel_code_generator/pars
datamodel-code-generator generates Python data models from schema definitions. From 0.59.0 until 0.62.0, XML Schema parsing in src/datamodel_code_generator/parser/xmlschema.py for --input-file-type xmlschema resolves xs:include, xs:import, xs:redefine, and xs:override schemaLocation values outside the input base path, allowing arbitrary local files to be read and reflected into generated models. This issue is fixed in version 0.62.0.
References
- https://github.com/koxudaxi/datamodel-code-generator/commit/d2d5cecd9fd3a2a6dbf148bf0740b8
- https://github.com/koxudaxi/datamodel-code-generator/releases/tag/0.62.0
- https://github.com/koxudaxi/datamodel-code-generator/security/advisories/GHSA-442q-2j6p-64
- https://github.com/koxudaxi/datamodel-code-generator/security/advisories/GHSA-442q-2j6p-64
This high severity vulnerability with a CVSS score of 7.5 was published on 2026-07-28 via NVD.
vulnfeed aggregates 9166 vulnerabilities from NVD, CISA KEV,
Ubuntu, Debian, Red Hat, Kubernetes, Exploit-DB, OSS-Security, GitHub and OpenStack — updated every 4 hours.