Lucene search
+L

618 matches found

osv_pysec
osv_pysec
•added 2026/08/04 11:34 a.m.•30 views

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

Summary A 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 th...

7.5CVSS7.1AI score0.00413EPSS
SaveExploits1References7
vulnersOsv
vulnersOsv
•added 2026/08/04 11:34 a.m.•9 views

aas-middleware (>=0.1.0, <=0.2.6), acex-client (>=0.0.6, <=4.6.0) +115 more potentially affected by CVE-2026-54621 via datamodel-code-generator (>=0.25.1, <=0.59.1)

datamodel-code-generator PYPI version =0.25.1, =0.1.0, =0.0.6, =0.0.1, =0.2.5, =0.1.0a0.dev0, =0.0.2, =0.1.1, =0.1.1, =0.1.13, =0.1.1, =0.1.0, =0.6.0 and more Source cves: CVE-2026-54621 Source advisory: OSV:PYSEC-2026-3561...

7.8CVSS5.8AI score0.00142EPSS
SaveExploits0
osv_pysec
osv_pysec
•added 2026/08/04 11:34 a.m.•32 views

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

Summary datamodel-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.8CVSS6.3AI score0.00142EPSS
SaveExploits0References6
PyPA
PyPA
•added 2026/08/04 11:34 a.m.•49 views

`datamodel-code-generator` vulnerable to code injection in via attacker-controlled `default_factory` schema field

Summarydatamodel-code-generator is vulnerable to code injection when generating Python models from an attacker-controlled JSON Schema, OpenAPI, YAML, JSON, Avro, Protobuf, or XSD schema. When a property carries a "defaultfactory" key, its value is interpolated verbatim — as a raw Python expressio...

8.8CVSS6.4AI score0.00369EPSS
SaveExploits1References7Affected Software1
osv_pysec
osv_pysec
•added 2026/08/04 11:34 a.m.•30 views

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

Summary datamodel-code-generator is vulnerable to code injection when a developer passes an --extra-template-data file whose comment value contains a literal \r carriage return. The comment variable is rendered into a Python comment in six built-in templates with no line-terminator escaping...

7.8CVSS6.2AI score0.00142EPSS
SaveExploits0References7
osv_pysec
osv_pysec
•added 2026/08/04 11:34 a.m.•28 views

PYSEC-2026-3558 datamodel-code-generator vulnerable to arbitrary local file read via JSON-Schema `$ref` (`file://` and `../` traversal), bypassing `--no-allow-remote-refs`

Summary datamodel-code-generator resolves JSON-Schema $ref targets that point at the local filesystem without restricting them to the input/base directory and without honoring the remote-reference security control. In the default configuration, an attacker who controls an input schema a "paste yo...

7.5CVSS6.1AI score0.00533EPSS
SaveExploits1References7
vulnersOsv
vulnersOsv
•added 2026/08/04 11:34 a.m.•9 views

aas-middleware (>=0.1.0, <=0.2.6), acex-client (>=0.0.6, <=4.6.0) +138 more potentially affected by CVE-2026-55403 via datamodel-code-generator (>=0.5.10, <=0.61.0)

datamodel-code-generator PYPI version =0.5.10, =0.1.0, =0.0.6, =0.0.1, =0.2.5, =0.1.0a0.dev0, =0.0.2, =0.1.1, =0.1.1, =0.1.13, =0.1.1, =0.0.0, =0.1.0 and more Source cves: CVE-2026-55403 Source advisory: OSV:PYSEC-2026-3563...

3.7CVSS5.2AI score0.00266EPSS
SaveExploits0
vulnersOsv
vulnersOsv
•added 2026/08/04 11:34 a.m.•7 views

agency-swarm (>=1.9.8, <=1.9.9), aigear (>=0.0.2, <=0.2.1) +35 more potentially affected by CVE-2026-54655 via datamodel-code-generator (>=0.51.0, <=0.59.1)

datamodel-code-generator PYPI version =0.51.0, =1.9.8, =0.0.2, =1.3.5, =0.3.1, =0.9.0, =0.7.6, =0.14.2, =0.3.2, =1.2.1, =8.1.2, =0.6.0, =2.5.1, =3.1.1 and more Source cves: CVE-2026-54655 Source advisory: OSV:PYSEC-2026-3562...

7.8CVSS5.8AI score0.00145EPSS
SaveExploits0
vulnersOsv
vulnersOsv
•added 2026/08/04 11:34 a.m.•9 views

aas-middleware (>=0.1.0, <=0.2.6), acex-client (>=0.0.6, <=4.6.0) +138 more potentially affected by CVE-2026-55389 via datamodel-code-generator (>=0.5.10, <=0.61.0)

datamodel-code-generator PYPI version =0.5.10, =0.1.0, =0.0.6, =0.0.1, =0.2.5, =0.1.0a0.dev0, =0.0.2, =0.1.1, =0.1.1, =0.1.13, =0.1.1, =0.0.0, =0.1.0 and more Source cves: CVE-2026-55389 Source advisory: OSV:PYSEC-2026-3558...

7.5CVSS6.1AI score0.00533EPSS
SaveExploits1
GithubExploit
GithubExploit
•added 2026/08/03 10:36 a.m.•65 views

Exploit for CVE-2026-63720

CVE-2026-63720: Code Injection in datamodel-code-generator via...

7.5CVSS6.7AI score0.00751EPSS
SaveExploits1
Veracode
Veracode
•added 2026/07/31 11:32 a.m.•31 views

Code Injection

datamodel-code-generator is vulnerable to Code Injection. The vulnerability is due to insufficient validation of x-python-type values from attacker-controlled JSON Schema content before inserting them into generated Python field annotations, which allows an attacker to execute arbitrary Python co...

7.8CVSS6.8AI score0.00145EPSS
SaveExploits0References5Affected Software1
Veracode
Veracode
•added 2026/07/31 11:19 a.m.•56 views

Sensitive Information Exposure

datamodel-code-generator is vulnerable to Sensitive Information Exposure. The vulnerability is due to the reuse of Authorization, Cookie, and Proxy-Authorization headers when following cross-origin redirects while fetching remote schemas, which allows an attacker controlling a redirect target to...

3.7CVSS5.5AI score0.00266EPSS
SaveExploits0References5Affected Software1
Veracode
Veracode
•added 2026/07/31 10:26 a.m.•35 views

Server-Side Request Forgery (SSRF)

datamodel-code-generator is vulnerable to Server-Side Request Forgery SSRF. The vulnerability is due to http.getbody in src/datamodelcodegenerator/http.py accepting --url targets and redirect chain targets without proper host/IP validation, which allows an attacker to perform server-side request...

8.2CVSS5.9AI score0.00259EPSS
SaveExploits0References5Affected Software1
Veracode
Veracode
•added 2026/07/31 9:07 a.m.•36 views

Path Traversal

datamodel-code-generator is vulnerable to Path Traversal. The vulnerability is due to improper validation of schemaLocation values in XML Schema parsing xs:include, xs:import, xs:redefine, and xs:override, which allows an attacker to reference files outside the intended input base path, resulting...

7.5CVSS6.3AI score0.00551EPSS
SaveExploits0References5Affected Software1
SUSE CVE
SUSE CVE
•added 2026/07/30 4:39 p.m.•29 views

SUSE 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.5CVSS6.1AI score0.00236EPSS
SaveExploits1References3
SUSE CVE
SUSE CVE
•added 2026/07/30 4:39 p.m.•22 views

SUSE CVE-2026-55415

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. From 0.11.6 until 0.64.0, datamodel-code-generator allows attacker-controlled x-python-import or customTypePath schema...

7.5CVSS6.2AI score0.00413EPSS
SaveExploits1References3
SUSE CVE
SUSE CVE
•added 2026/07/30 4:35 p.m.•23 views

SUSE 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.8AI score0.00751EPSS
SaveExploits1References3
Circl
Circl
•added 2026/07/28 10:35 p.m.•29 views

CVE-2026-54654

creationtimestamp| type| source ---|---|--- 2026-07-28 22:35:44+00:00| published-proof-of-concept| https://github.com/koxudaxi/datamodel-code-generator/security/advisories/GHSA-wjv6-jcfj-mf9r 2026-07-29 03:28:01+00:00| seen| https://bsky.app/profile/postac001.bsky.social/post/3mrqy7iat4v2y...

7.8CVSS5.8AI score0.00142EPSS
SaveExploits0References3
Circl
Circl
•added 2026/07/28 10:35 p.m.•32 views

CVE-2026-55403

creationtimestamp| type| source ---|---|--- 2026-07-28 22:35:27+00:00| published-proof-of-concept| https://github.com/koxudaxi/datamodel-code-generator/security/advisories/GHSA-r5vv-ff45-prp2 2026-07-29 00:00:47+00:00| seen| https://bsky.app/profile/cve.skyfleet.blue/post/3mrqmmvyow724...

3.7CVSS5.2AI score0.00266EPSS
SaveExploits0References2
Circl
Circl
•added 2026/07/28 10:35 p.m.•33 views

CVE-2026-54655

creationtimestamp| type| source ---|---|--- 2026-07-28 22:35:24+00:00| published-proof-of-concept| https://github.com/koxudaxi/datamodel-code-generator/security/advisories/GHSA-m34r-v34r-rf9q...

7.8CVSS5.8AI score0.00145EPSS
SaveExploits0References1
Rows per page
Query Builder