Lucene search
+L

6 matches found

PyPA
PyPA
•added 2026/08/04 11:34 a.m.•27 views

`datamodel-code-generator` vulnerable to code injection via unescaped carriage return in GraphQL Union description

Summarydatamodel-code-generator is vulnerable to code injection when generating Python models from an attacker-controlled GraphQL schema. A description on a Union type, written in the regular-string form "..." with a literal \r escape, is rendered into a Python comment by a Jinja2 filter that...

7.8CVSS5.9AI score0.0021EPSS
SaveExploits0References6Affected Software1
PyPA
PyPA
•added 2026/08/04 11:34 a.m.•26 views

datamodel-code-generator vulnerable to code injection via `x-python-import` / `customTypePath` in generated import statements

SummaryA malicious input schema OpenAPI / JSON Schema can execute arbitrary Python code on the machine that imports the generated model. The x-python-import and customTypePath schema extensions flow, unsanitized, into the import statements datamodel-code-generator emits. A newline embedded in the...

7.5CVSS6.7AI score0.00488EPSS
SaveExploits1References7Affected Software1
SUSE CVE
SUSE CVE
•added 2026/07/30 4:39 p.m.•18 views

SUSE CVE-2026-55403

datamodel-code-generator generates Python data models from schema definitions. Prior to 0.63.0, src/datamodelcodegenerator/http.py getbody reuses Authorization, Cookie, and Proxy-Authorization headers when following cross-origin redirects while fetching remote schemas, allowing credentials scoped...

3.7CVSS5.5AI score0.00336EPSS
SaveExploits0References3
attackerkb
attackerkb
•added 2026/07/28 9:45 p.m.•14 views

CVE-2026-55391

datamodel-code-generator generates Pydantic v2 models, dataclasses, TypedDict, and msgspec.Struct from OpenAPI, JSON Schema, GraphQL, Avro, Protobuf, and raw JSON, YAML, or CSV. Prior to 0.63.0, datamodel-code-generator validates a URL host once in src/datamodelcodegenerator/http.py through...

7.5CVSS5.9AI score0.00305EPSS
SaveExploits1References4Affected Software1
Vulnrichment
Vulnrichment
•added 2026/07/28 9:31 p.m.•13 views

CVE-2026-55403 datamodel-code-generator: Authorization / request headers leaked to cross-origin redirect target when fetching remote schemas

datamodel-code-generator generates Python data models from schema definitions. Prior to 0.63.0, src/datamodelcodegenerator/http.py getbody reuses Authorization, Cookie, and Proxy-Authorization headers when following cross-origin redirects while fetching remote schemas, allowing credentials scoped...

3.7CVSS5.9AI score0.00336EPSS
SaveExploits0References3
Positive Technologies
Positive Technologies
•added 2026/07/28 12:00 a.m.•19 views

PT-2026-65607

Name of the Vulnerable Software and Affected Versions datamodel-code-generator versions 0.59.0 through 0.61.0 Description When generating Python data models from an XML Schema using the --input-file-type xmlschema option, the software improperly resolves schemaLocation values within , , , and...

7.5CVSS5.6AI score0.0053EPSS
SaveExploits0References9
Rows per page
Query Builder