CVE-2026-55391: datamodel-code-generator vulnerable to SSRF protection bypass via DNS rebinding
koxudaxi · datamodel-code-generator
Affected: koxudaxi datamodel-code-generator · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 23% of scored CVEs
DescriptionCVE.org
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 services. This issue is fixed in version 0.63.0.
Affected products1
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- koxudaxi · datamodel-code-generator< 0.63.0
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
CoverageNo articles yet
No CyberSIXT article names CVE-2026-55391 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-350cwe.mitre.org
- github.com/koxudaxi/datamodel-code-generator/security/advisoriesgithub.com
- github.com/koxudaxi/datamodel-code-generator/commit/25c8b7e49741github.com
- github.com/koxudaxi/datamodel-code-generator/releases/tag/0.63.0github.com
- Exploitgist.github.com