Lucene search
+L

160 matches found

Snyk
Snyk
•added 2026/07/28 9:49 p.m.•17 views

Directory Traversal

Overview datamodel-code-generator is a Datamodel Code Generator Affected versions of this package are vulnerable to Directory Traversal via the resolution of JSON-Schema $ref references that point to local files using either file:// URIs or ../-escaped relative paths, without restricting access t...

8.7CVSS6.2AI score0.00547EPSS
SaveExploits1References2
EUVD
EUVD
•added 2026/07/28 9:49 p.m.•22 views

EUVD-2026-50078

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.62.0, datamodel-code-generator resolves JSON Schema $ref targets in...

7.5CVSS5.9AI score0.00547EPSS
SaveExploits1References3
OSV
OSV
•added 2026/07/28 9:49 p.m.•14 views

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

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.62.0, datamodel-code-generator resolves JSON Schema $ref targets in...

7.5CVSS5.9AI score
SaveExploits0References5
CVE
CVE
•added 2026/07/28 9:49 p.m.•61 views

CVE-2026-55389

The CVE affects datamodel-code-generator (pre-0.62.0), where JSON Schema $ref resolution in src/datamodel_code_generator/parser/jsonschema.py using is_url/_get_ref_body could read arbitrary local files (via file:// or ../ traversal) when --no-allow-remote-refs is not honored. This could expose se...

7.5CVSS5.9AI score0.00547EPSS
SaveExploits1References3Affected Software1
Cvelist
Cvelist
•added 2026/07/28 9:49 p.m.•51 views

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

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.62.0, datamodel-code-generator resolves JSON Schema $ref targets in...

7.5CVSS0.00547EPSS
SaveExploits1References3
Github Security Blog
Github Security Blog
•added 2026/07/28 9:48 p.m.•19 views

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

Summary datamodel-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 expressi...

8.8CVSS6.5AI score0.00711EPSS
SaveExploits1References4Affected Software1
Snyk
Snyk
•added 2026/07/28 9:48 p.m.•15 views

Improper Neutralization of Special Elements Used in a Template Engine

Overview datamodel-code-generator is a Datamodel Code Generator Affected versions of this package are vulnerable to Improper Neutralization of Special Elements Used in a Template Engine via the defaultfactory field in schema input. An attacker can execute arbitrary Python code in the consumer's...

8.8CVSS6AI score0.00711EPSS
SaveExploits1References3
attackerkb
attackerkb
•added 2026/07/28 9:48 p.m.•14 views

CVE-2026-54653

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.17.0 until 0.60.2, datamodel-code-generator preserves attacker-controlled defaultfactory values in...

8.8CVSS6AI score0.00711EPSS
SaveExploits1References4Affected Software1
Vulnrichment
Vulnrichment
•added 2026/07/28 9:48 p.m.•13 views

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

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.17.0 until 0.60.2, datamodel-code-generator preserves attacker-controlled defaultfactory values in...

8.8CVSS6AI score0.00711EPSS
SaveExploits1References3
OSV
OSV
•added 2026/07/28 9:48 p.m.•13 views

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

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.17.0 until 0.60.2, datamodel-code-generator preserves attacker-controlled defaultfactory values in...

8.8CVSS6AI score
SaveExploits0References6
CVE
CVE
•added 2026/07/28 9:48 p.m.•63 views

CVE-2026-54653

The CVE affects the datamodel-code-generator project. From versions 0.17.0 through 0.60.2, the tool could preserve attacker-controlled default_factory values in JsonSchemaObject.init/get_field_extras, emitting them into Field(default_factory=...) and enabling Python expression execution when the ...

8.8CVSS6AI score0.00711EPSS
SaveExploits1References4Affected Software1
EUVD
EUVD
•added 2026/07/28 9:48 p.m.•27 views

EUVD-2026-50077

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.17.0 until 0.60.2, datamodel-code-generator preserves attacker-controlled defaultfactory values in...

8.8CVSS6AI score0.00711EPSS
SaveExploits1References3
Cvelist
Cvelist
•added 2026/07/28 9:48 p.m.•48 views

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

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.17.0 until 0.60.2, datamodel-code-generator preserves attacker-controlled defaultfactory values in...

8.8CVSS0.00711EPSS
SaveExploits1References3
Snyk
Snyk
•added 2026/07/28 9:45 p.m.•13 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 through the getbody function, which performs DNS resolution validation separately from the actual HTTP connection. An attacker can access internal...

8.2CVSS5.5AI score0.00305EPSS
SaveExploits1References4
OSV
OSV
•added 2026/07/28 9:45 p.m.•11 views

GHSA-VX7X-VCC2-C44G datamodel-code-generator vulnerable to SSRF protection bypass via DNS rebinding

Summary datamodel-code-generator's anti-SSRF guard validates the resolved IP of a fetch target once and then lets httpx perform its own independent DNS resolution to connect, so the validated address is never pinned. A hostname that resolves to a public IP at validation time and a private IP at...

7.5CVSS6AI score0.00305EPSS
SaveExploits1References4
Github Security Blog
Github Security Blog
•added 2026/07/28 9:45 p.m.•22 views

datamodel-code-generator vulnerable to SSRF protection bypass via DNS rebinding

Summary datamodel-code-generator's anti-SSRF guard validates the resolved IP of a fetch target once and then lets httpx perform its own independent DNS resolution to connect, so the validated address is never pinned. A hostname that resolves to a public IP at validation time and a private IP at...

7.5CVSS6AI score0.00305EPSS
SaveExploits1References4Affected Software1
Cvelist
Cvelist
•added 2026/07/28 9:45 p.m.•51 views

CVE-2026-55391 datamodel-code-generator vulnerable to SSRF protection bypass via DNS rebinding

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.5CVSS0.00305EPSS
SaveExploits1References3
CVE
CVE
•added 2026/07/28 9:45 p.m.•78 views

CVE-2026-55391

CVE-2026-55391 affects the datamodel-code-generator project. Prior to version 0.63.0, the tool validates a URL host in http.py via get_body, _validate_url_for_fetch, and _get_ips_from_host, but then allows httpx to resolve the host again for the connection, enabling DNS rebinding to bypass allow_...

7.5CVSS5.9AI score0.00305EPSS
SaveExploits1References4Affected Software1
EUVD
EUVD
•added 2026/07/28 9:45 p.m.•15 views

EUVD-2026-50076

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
SaveExploits1References3
OSV
OSV
•added 2026/07/28 9:45 p.m.•12 views

CVE-2026-55391 datamodel-code-generator vulnerable to SSRF protection bypass via DNS rebinding

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 score
SaveExploits0References6
Rows per page
Query Builder