Lucene search
+L

254 matches found

CVE
CVE
•added 2026/07/28 9:43 p.m.•71 views

CVE-2026-54656

CVE-2026-54656 affects datamodel-code-generator (0.52.1–0.60.2). The issue arises when validators are interpolated from --extra-template-data into @field_validator decorators via _process_validators in src/datamodel_code_generator/model/pydantic_v2/base_model.py, enabling Python code execution up...

7.8CVSS6.2AI score0.00252EPSS
SaveExploits1References3Affected Software1
Cvelist
Cvelist
•added 2026/07/28 9:43 p.m.•56 views

CVE-2026-54656 `datamodel-code-generator` vulnerable to code execution on import via unescaped `validators` entries in --extra-template-data

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.52.1 until 0.60.2, datamodel-code-generator interpolates validators from --extra-template-data in...

7.8CVSS0.00252EPSS
SaveExploits1References3
Snyk
Snyk
•added 2026/07/28 9:42 p.m.•18 views

Server-side Request Forgery (SSRF)

Overview datamodel-code-generator is a Datamodel Code Generator Affected versions of this package are vulnerable to Server-side Request Forgery SSRF in the process that handles dereferencing JSON-Schema $ref values pointing to HTTP or HTTPS URLs without proper IP or host validation, scheme...

8.2CVSS5.6AI score0.00388EPSS
SaveExploits1References2
vulnersOsv
vulnersOsv
•added 2026/07/28 9:42 p.m.•2 views

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

datamodel-code-generator PYPI version =0.10.3, =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-54690 Source advisory: OSV:GHSA-954P-556P-R752...

8.2CVSS5.8AI score0.00388EPSS
SaveExploits1
vulnersOsv
vulnersOsv
•added 2026/07/28 9:42 p.m.•2 views

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

datamodel-code-generator PYPI version =0.10.3, =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-54690 Source advisory: SNYK:PYTHON-DATAMODELCODEGENERATOR-18385403...

8.2CVSS5.8AI score0.00388EPSS
SaveExploits1
vulnersOsv
vulnersOsv
•added 2026/07/28 9:42 p.m.•2 views

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

datamodel-code-generator PYPI version =0.10.3, =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-54690 Source advisory: GHSA-954P-556P-R752...

8.2CVSS5.8AI score0.00388EPSS
SaveExploits1
Github Security Blog
Github Security Blog
•added 2026/07/28 9:42 p.m.•29 views

datamodel-code-generator vulnerable to SSRF via JSON-Schema `$ref` to HTTP URL (silent by default)

Summary JSON-Schema $ref values pointing at HTTP or HTTPS URLs are silently dereferenced by datamodel-code-generator with no IP/host validation, no scheme allow-list, and redirects followed unconditionally. The --allow-remote-refs gate added in 0.56.0 defaults to None, which only emits a...

8.2CVSS6AI score0.00388EPSS
SaveExploits1References4Affected Software1
Vulnrichment
Vulnrichment
•added 2026/07/28 9:42 p.m.•16 views

CVE-2026-54690 datamodel-code-generator vulnerable to SSRF via JSON-Schema `$ref` to HTTP URL (silent by default)

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.9.1 until 0.61.0, datamodel-code-generator silently dereferences attacker-controlled JSON Schema $ref HTTP or...

8.2CVSS5.8AI score0.00388EPSS
SaveExploits1References3
vulnersOsv
vulnersOsv
•added 2026/07/28 9:42 p.m.•2 views

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

datamodel-code-generator PYPI version =0.10.3, =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-54690 Source advisory: MEND:CVE-2026-54690...

8.2CVSS5.8AI score0.00388EPSS
SaveExploits1
CVE
CVE
•added 2026/07/28 9:42 p.m.•77 views

CVE-2026-54690

Summary: CVE-2026-54690 affects the datamodel-code-generator project. In versions 0.9.1 through 0.61.0, the tool silently dereferenced attacker-controlled JSON Schema $ref HTTP/HTTPS URLs via src/datamodel_code_generator/parser/jsonschema.py:_get_ref_body, and the --allow-remote-refs gate could w...

8.2CVSS5.8AI score0.00388EPSS
SaveExploits1References3Affected Software1
EUVD
EUVD
•added 2026/07/28 9:42 p.m.•18 views

EUVD-2026-50074

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.9.1 until 0.61.0, datamodel-code-generator silently dereferences attacker-controlled JSON Schema $ref HTTP or...

8.2CVSS5.8AI score0.00388EPSS
SaveExploits1References3
Cvelist
Cvelist
•added 2026/07/28 9:42 p.m.•62 views

CVE-2026-54690 datamodel-code-generator vulnerable to SSRF via JSON-Schema `$ref` to HTTP URL (silent by default)

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.9.1 until 0.61.0, datamodel-code-generator silently dereferences attacker-controlled JSON Schema $ref HTTP or...

8.2CVSS0.00388EPSS
SaveExploits1References3
attackerkb
attackerkb
•added 2026/07/28 9:42 p.m.•22 views

CVE-2026-54690

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.9.1 until 0.61.0, datamodel-code-generator silently dereferences attacker-controlled JSON Schema $ref HTTP or...

8.2CVSS5.8AI score0.00388EPSS
SaveExploits1References4Affected Software1
osv_cve
osv_cve
•added 2026/07/28 9:42 p.m.•20 views

CVE-2026-54690 datamodel-code-generator vulnerable to SSRF via JSON-Schema `$ref` to HTTP URL (silent by default)

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.9.1 until 0.61.0, datamodel-code-generator silently dereferences attacker-controlled JSON Schema $ref HTTP or...

8.2CVSS5.8AI score
SaveExploits0References5
vulnersOsv
vulnersOsv
•added 2026/07/28 9:40 p.m.•2 views

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

datamodel-code-generator PYPI version =0.11.9, =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-55415 Source advisory: SNYK:PYTHON-DATAMODELCODEGENERATOR-18385352...

7.5CVSS5.8AI score0.00488EPSS
SaveExploits1
vulnersOsv
vulnersOsv
•added 2026/07/28 9:40 p.m.•4 views

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

datamodel-code-generator PYPI version =0.11.9, =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-55415 Source advisory: OSV:GHSA-5578-W22F-PFX9...

7.5CVSS5.8AI score0.00488EPSS
SaveExploits1
Snyk
Snyk
•added 2026/07/28 9:40 p.m.•21 views

Eval Injection

Overview datamodel-code-generator is a Datamodel Code Generator Affected versions of this package are vulnerable to Eval Injection via unsanitized input in the fromfullpath and createline functions. An attacker can execute arbitrary code at import time by supplying malicious schema extensions tha...

7.7CVSS6.6AI score0.00488EPSS
SaveExploits1References3
vulnersOsv
vulnersOsv
•added 2026/07/28 9:40 p.m.•2 views

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

datamodel-code-generator PYPI version =0.11.9, =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-55415 Source advisory: GHSA-5578-W22F-PFX9...

7.5CVSS5.8AI score0.00488EPSS
SaveExploits1
osv_ghsa
osv_ghsa
•added 2026/07/28 9:40 p.m.•23 views

GHSA-5578-W22F-PFX9 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.5CVSS7AI score0.00488EPSS
SaveExploits1References4
vulnersOsv
vulnersOsv
•added 2026/07/28 9:37 p.m.•3 views

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

datamodel-code-generator PYPI version =0.11.9, =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-55415 Source advisory: MEND:CVE-2026-55415...

7.5CVSS5.8AI score0.00488EPSS
SaveExploits1
Rows per page
Query Builder