CVE Explorer
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 extensions to reach src/datamodel_code_generator/parser/jsonschema.py and generated import handling through Import.from_full_path and Imports.create_line in src/datamodel_code_generator/imports.py, allow
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:268c3943c079b411e017dafc8625626d1ba953f380f4a844b6884e90454d0656 · sha256:08ce84a17a040cde… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-95","description":"CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:268c3943c079b411e017dafc8625626d1ba953f380f4a844b6884e90454d0656 · sha256:08ce84a17a040cde… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"datamodel-code-generator","vendor":"koxudaxi","versions":[{"status":"affected","version":">= 0.11.6, < 0.64.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:268c3943c079b411e017dafc8625626d1ba953f380f4a844b6884e90454d0656 · sha256:08ce84a17a040cde… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:268c3943c079b411e017dafc8625626d1ba953f380f4a844b6884e90454d0656 · sha256:08ce84a17a040cde… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-94","description":"CWE-94: Improper Control of Generation of Code ('Code Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:268c3943c079b411e017dafc8625626d1ba953f380f4a844b6884e90454d0656 · sha256:08ce84a17a040cde… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-95","description":"CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:268c3943c079b411e017dafc8625626d1ba953f380f4a844b6884e90454d0656 · sha256:08ce84a17a040cde… · /containers/cna/problemTypes/1/descriptions/0
Source references
4 source assertions{"name":"https://github.com/koxudaxi/datamodel-code-generator/commit/577d49569c2254c371a97e495020ae2238a73b84","tags":["x_refsource_MISC"],"url":"https://github.com/koxudaxi/datamodel-code-generator/commit/577d49569c2254c371a97e495020ae2238a73b84"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:268c3943c079b411e017dafc8625626d1ba953f380f4a844b6884e90454d0656 · sha256:08ce84a17a040cde… · /containers/cna/references/1
{"name":"https://github.com/koxudaxi/datamodel-code-generator/releases/tag/0.64.0","tags":["x_refsource_MISC"],"url":"https://github.com/koxudaxi/datamodel-code-generator/releases/tag/0.64.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:268c3943c079b411e017dafc8625626d1ba953f380f4a844b6884e90454d0656 · sha256:08ce84a17a040cde… · /containers/cna/references/2
{"name":"https://github.com/koxudaxi/datamodel-code-generator/security/advisories/GHSA-5578-w22f-pfx9","tags":["x_refsource_CONFIRM"],"url":"https://github.com/koxudaxi/datamodel-code-generator/security/advisories/GHSA-5578-w22f-pfx9"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:268c3943c079b411e017dafc8625626d1ba953f380f4a844b6884e90454d0656 · sha256:08ce84a17a040cde… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/koxudaxi/datamodel-code-generator/security/advisories/GHSA-5578-w22f-pfx9"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:268c3943c079b411e017dafc8625626d1ba953f380f4a844b6884e90454d0656 · sha256:08ce84a17a040cde… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.