Lucene search
+L

342 matches found

OSV
OSV
added 2026/07/28 9:25 p.m.6 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 score
SaveExploits0References5
EUVD
EUVD
added 2026/07/28 9:22 p.m.9 views

EUVD-2026-50067

datamodel-code-generator generates Python data models from schema definitions. From 0.14.1 until 0.60.2, the --extra-template-data comment field is rendered into Python comments in src/datamodelcodegenerator/model/template/TypeAliasAnnotation.jinja2,...

7.8CVSS5.9AI score0.00142EPSS
SaveExploits0References3
Cvelist
Cvelist
added 2026/07/28 9:22 p.m.33 views

CVE-2026-54654 `datamodel-code-generator` vulnerable to code injection via unescaped carriage return in `--extra-template-data` `comment` field

datamodel-code-generator generates Python data models from schema definitions. From 0.14.1 until 0.60.2, the --extra-template-data comment field is rendered into Python comments in src/datamodelcodegenerator/model/template/TypeAliasAnnotation.jinja2,...

7.8CVSS0.00142EPSS
SaveExploits0References3
CVE
CVE
added 2026/07/28 9:22 p.m.42 views

CVE-2026-54654

CVE-2026-54654 affects datamodel-code-generator (versions 0.14.1–0.60.2). The --extra-template-data comment field is rendered into Python comments in multiple templates without neutralizing carriage returns, allowing attacker-controlled comments to inject Python code into generated models that ex...

7.8CVSS5.9AI score0.00142EPSS
SaveExploits0References3
OSV
OSV
added 2026/07/28 9:22 p.m.5 views

CVE-2026-54654 `datamodel-code-generator` vulnerable to code injection via unescaped carriage return in `--extra-template-data` `comment` field

datamodel-code-generator generates Python data models from schema definitions. From 0.14.1 until 0.60.2, the --extra-template-data comment field is rendered into Python comments in src/datamodelcodegenerator/model/template/TypeAliasAnnotation.jinja2,...

7.8CVSS5.9AI score
SaveExploits0References5
ATTACKERKB
ATTACKERKB
added 2026/07/28 9:22 p.m.9 views

CVE-2026-54654

datamodel-code-generator generates Python data models from schema definitions. From 0.14.1 until 0.60.2, the --extra-template-data comment field is rendered into Python comments in src/datamodelcodegenerator/model/template/TypeAliasAnnotation.jinja2,...

7.8CVSS5.9AI score0.00142EPSS
SaveExploits0References4Affected Software1
Positive Technologies
Positive Technologies
added 2026/07/28 12:0 a.m.13 views

PT-2026-65611

Name of the Vulnerable Software and Affected Versions datamodel-code-generator versions 0.52.1 through 0.60.1 Description When using Pydantic v2 output mode, the software improperly handles data from the --extra-template-data file. Specifically, the process validators function in src/datamodel co...

7.8CVSS6.6AI score0.00171EPSS
SaveExploits1References9
Positive Technologies
Positive Technologies
added 2026/07/28 12:0 a.m.9 views

PT-2026-65608

Name of the Vulnerable Software and Affected Versions datamodel-code-generator versions 0.25.0 through 0.60.0 Description Code injection occurs when generating Python models from an attacker-controlled GraphQL schema. The issue stems from how GraphQL Union description values are rendered into...

7.8CVSS5.5AI score0.00142EPSS
SaveExploits0References9
Positive Technologies
Positive Technologies
added 2026/07/28 12:0 a.m.13 views

PT-2026-65609

Name of the Vulnerable Software and Affected Versions datamodel-code-generator versions 0.17.0 through 0.60.1 Description Code injection is possible when generating Python models from attacker-controlled JSON Schema, OpenAPI, YAML, JSON, Avro, Protobuf, or XSD schemas. The issue occurs because th...

8.8CVSS6.1AI score0.00369EPSS
SaveExploits1References10
Positive Technologies
Positive Technologies
added 2026/07/28 12:0 a.m.11 views

PT-2026-65617

Name of the Vulnerable Software and Affected Versions datamodel-code-generator versions 0.11.6 through 0.63.0 Description A flaw in the handling of schema extensions allows for remote code execution on the machine that imports the generated model. When processing a malicious OpenAPI or JSON Schem...

7.5CVSS6.6AI score0.00292EPSS
SaveExploits1References9
Positive Technologies
Positive Technologies
added 2026/07/28 12:0 a.m.10 views

PT-2026-65616

Name of the Vulnerable Software and Affected Versions datamodel-code-generator versions prior to 0.63.0 Description When fetching remote schemas, the software re-sends original request headers to redirect targets even if the redirect changes the origin host, port, or scheme. This occurs within th...

3.7CVSS5.6AI score0.00211EPSS
SaveExploits0References9
Positive Technologies
Positive Technologies
added 2026/07/28 12:0 a.m.18 views

PT-2026-65613

Name of the Vulnerable Software and Affected Versions datamodel-code-generator versions 0.9.1 through 0.60.1 Description The get body function in src/datamodel code generator/http.py fails to validate host or IP addresses when processing targets provided via the --url argument or through redirect...

8.2CVSS5.5AI score0.00209EPSS
SaveExploits0References9
Positive Technologies
Positive Technologies
added 2026/07/28 12:0 a.m.14 views

PT-2026-65606

Name of the Vulnerable Software and Affected Versions datamodel-code-generator versions 0.14.1 through 0.60.1 Description Code injection is possible when the --extra-template-data file contains a comment value with a carriage return r. The software renders this comment variable into Python commen...

7.8CVSS6.2AI score0.00142EPSS
SaveExploits0References9
Positive Technologies
Positive Technologies
added 2026/07/28 12:0 a.m.13 views

PT-2026-65610

Name of the Vulnerable Software and Affected Versions datamodel-code-generator versions 0.51.0 through 0.60.1 Description Insufficient validation of x-python-type values in the get python type override function within src/datamodel code generator/parser/jsonschema.py allows attacker-controlled JS...

7.8CVSS5.9AI score0.00145EPSS
SaveExploits0References9
Snyk
Snyk
added 2026/07/26 7:49 a.m.10 views

Arbitrary Code Injection

Overview datamodel-code-generator is a Datamodel Code Generator Affected versions of this package are vulnerable to Arbitrary Code Injection via the customBasePath schema field. An attacker can execute arbitrary Python code by supplying a specially crafted value containing embedded newlines and a...

7.5CVSS6.2AI score0.00423EPSS
SaveExploits1References2
NVD
NVD
added 2026/07/26 5:16 a.m.17 views

CVE-2026-63720

datamodel-code-generator prior to version 0.70.0 contains a code injection vulnerability that allows attackers who control input schemas to achieve remote code execution by supplying a malicious customBasePath value containing embedded newlines and a dot-free Python expression. The crafted value ...

7.5CVSS0.00423EPSS
SaveExploits1References5
EUVD
EUVD
added 2026/07/26 3:51 a.m.15 views

EUVD-2026-49050

datamodel-code-generator prior to version 0.70.0 contains a code injection vulnerability that allows attackers who control input schemas to achieve remote code execution by supplying a malicious customBasePath value containing embedded newlines and a dot-free Python expression. The crafted value ...

7.5CVSS6.7AI score0.00423EPSS
SaveExploits1References3
ATTACKERKB
ATTACKERKB
added 2026/07/26 3:51 a.m.11 views

CVE-2026-63720

datamodel-code-generator prior to version 0.70.0 contains a code injection vulnerability that allows attackers who control input schemas to achieve remote code execution by supplying a malicious customBasePath value containing embedded newlines and a dot-free Python expression. The crafted value ...

7.5CVSS6.7AI score0.00423EPSS
SaveExploits1References4
Cvelist
Cvelist
added 2026/07/26 3:51 a.m.36 views

CVE-2026-63720 datamodel-code-generator Code Injection via Unvalidated customBasePath Schema Field

datamodel-code-generator prior to version 0.70.0 contains a code injection vulnerability that allows attackers who control input schemas to achieve remote code execution by supplying a malicious customBasePath value containing embedded newlines and a dot-free Python expression. The crafted value ...

7.5CVSS0.00423EPSS
SaveExploits1References5
OSV
OSV
added 2026/07/26 3:51 a.m.15 views

CVE-2026-63720 datamodel-code-generator Code Injection via Unvalidated customBasePath Schema Field

datamodel-code-generator prior to version 0.70.0 contains a code injection vulnerability that allows attackers who control input schemas to achieve remote code execution by supplying a malicious customBasePath value containing embedded newlines and a dot-free Python expression. The crafted value ...

7.5CVSS6.7AI score
SaveExploits0References7
Rows per page
Query Builder