Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-55390
Published:July 28, 2026
Updated:August 04, 2026
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.
Affected Packages
datamodel-code-generator (CONDA):
Affected version(s) >=0.59.0 <0.62.0
Fix Suggestion:
Update to version 0.62.0
https://github.com/koxudaxi/datamodel-code-generator.git (GITHUB):
Affected version(s) >=0.59.0 <0.62.0
Fix Suggestion:
Update to version 0.62.0
datamodel-code-generator (PYTHON):
Affected version(s) >=0.59.0 <0.62.0
Fix Suggestion:
Update to version 0.62.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
NONE
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Weakness Type (CWE)
Externally Controlled Reference to a Resource in Another Sphere
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Exposure of Sensitive Information to an Unauthorized Actor
EPSS
Base Score:
0.36