HIGH

CVE-2026-55390

2026-07-28 CVSS v3.1
CVSS
7.5

Description

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.

Weakness (CWE)

CWE-22 Path Traversal
CWE-200 Information Exposure
CWE-610

EPSS Score

0.36%
Probability of exploitation in next 30 days
29.9th percentile

References

View on dbcve.org
Base CVE data derived from NVD (public domain). Enrichment by dbcve.org (CC-BY-4.0). Fetched via API.
Back to CVE