Lucene search
+L

2 matches found

Github Security Blog
Github Security Blog
•added 2026/07/28 9:26 p.m.•20 views

datamodel-code-generator vulnerable to arbitrary local file read via XSD `schemaLocation` (`xs:include`/`xs:import`) path traversal, with no remote-ref gate

Summary When generating models from an XML Schema --input-file-type xmlschema, datamodel-code-generator resolves , , , and schemaLocation attributes against the source directory and reads the target with no restriction to the input/base directory. An attacker who controls the input XSD can read...

7.5CVSS6AI score0.0053EPSS
SaveExploits0References4Affected Software1
Vulnrichment
Vulnrichment
•added 2026/07/28 9:25 p.m.•11 views

CVE-2026-55390 Arbitrary local file read via XSD `schemaLocation` (`xs:include`/`xs:import`) path traversal, with no remote-ref gate

datamodel-code-generator generates Python data models from schema definitions. From 0.59.0 until 0.62.0, XML Schema parsing in src/datamodelcodegenerator/parser/xmlschema.py for --input-file-type xmlschema resolves xs:include, xs:import, xs:redefine, and xs:override schemaLocation values outside...

7.5CVSS5.9AI score0.0053EPSS
SaveExploits0References3
Rows per page
Query Builder