CVE Explorer
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/datamodel_code_generator/http.py through get_body, _validate_url_for_fetch, and _get_ips_from_host, but then lets httpx resolve the host again for the connection, allowing DNS rebinding to bypass allow_private_network=False and reach internal serv
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 3 assertions
{"cweId":"CWE-350","description":"CWE-350: Reliance on Reverse DNS Resolution for a Security-Critical Action","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:ad07996c88ea97a308b8d06240b8923abd18950ac6c5d3d347e7c12bd76abe59 · sha256:d9e0e70740ded12b… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-918","description":"CWE-918: Server-Side Request Forgery (SSRF)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:ad07996c88ea97a308b8d06240b8923abd18950ac6c5d3d347e7c12bd76abe59 · sha256:d9e0e70740ded12b… · /containers/cna/problemTypes/2/descriptions/0
{"cweId":"CWE-367","description":"CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:ad07996c88ea97a308b8d06240b8923abd18950ac6c5d3d347e7c12bd76abe59 · sha256:d9e0e70740ded12b… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"datamodel-code-generator","vendor":"koxudaxi","versions":[{"status":"affected","version":"< 0.63.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:ad07996c88ea97a308b8d06240b8923abd18950ac6c5d3d347e7c12bd76abe59 · sha256:d9e0e70740ded12b… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:ad07996c88ea97a308b8d06240b8923abd18950ac6c5d3d347e7c12bd76abe59 · sha256:d9e0e70740ded12b… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
3 source assertions{"cweId":"CWE-350","description":"CWE-350: Reliance on Reverse DNS Resolution for a Security-Critical Action","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:ad07996c88ea97a308b8d06240b8923abd18950ac6c5d3d347e7c12bd76abe59 · sha256:d9e0e70740ded12b… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-918","description":"CWE-918: Server-Side Request Forgery (SSRF)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:ad07996c88ea97a308b8d06240b8923abd18950ac6c5d3d347e7c12bd76abe59 · sha256:d9e0e70740ded12b… · /containers/cna/problemTypes/2/descriptions/0
{"cweId":"CWE-367","description":"CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:ad07996c88ea97a308b8d06240b8923abd18950ac6c5d3d347e7c12bd76abe59 · sha256:d9e0e70740ded12b… · /containers/cna/problemTypes/1/descriptions/0
Source references
4 source assertions{"tags":["exploit"],"url":"https://gist.github.com/thegr1ffyn/c1d54dd6ff2a4c0d7d0dabe00c4985f4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ad07996c88ea97a308b8d06240b8923abd18950ac6c5d3d347e7c12bd76abe59 · sha256:d9e0e70740ded12b… · /containers/adp/0/references/0
{"name":"https://github.com/koxudaxi/datamodel-code-generator/commit/25c8b7e497419eb20b230fa3318c04f9bebc5a6f","tags":["x_refsource_MISC"],"url":"https://github.com/koxudaxi/datamodel-code-generator/commit/25c8b7e497419eb20b230fa3318c04f9bebc5a6f"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ad07996c88ea97a308b8d06240b8923abd18950ac6c5d3d347e7c12bd76abe59 · sha256:d9e0e70740ded12b… · /containers/cna/references/1
{"name":"https://github.com/koxudaxi/datamodel-code-generator/releases/tag/0.63.0","tags":["x_refsource_MISC"],"url":"https://github.com/koxudaxi/datamodel-code-generator/releases/tag/0.63.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ad07996c88ea97a308b8d06240b8923abd18950ac6c5d3d347e7c12bd76abe59 · sha256:d9e0e70740ded12b… · /containers/cna/references/2
{"name":"https://github.com/koxudaxi/datamodel-code-generator/security/advisories/GHSA-vx7x-vcc2-c44g","tags":["x_refsource_CONFIRM"],"url":"https://github.com/koxudaxi/datamodel-code-generator/security/advisories/GHSA-vx7x-vcc2-c44g"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ad07996c88ea97a308b8d06240b8923abd18950ac6c5d3d347e7c12bd76abe59 · sha256:d9e0e70740ded12b… · /containers/cna/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.