Raw vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:NSummary
CVE-2026-55391 is a high-severity Reliance on Reverse DNS Resolution for a Security-Critical Action (CWE-350) vulnerability in Koxudaxi Datamodel-Code-Generator. Its CVSS base score is 7.5 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Path Interception (T1034); ranked at the 9th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
The strongest mitigations our analysis identified map to AC-25 (Reference Monitor) and AC-4 (Information Flow Enforcement) — see the control section below for these in your framework.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-50076
Vulnerability 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. 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…
more
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.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
—
V15.4.2V17.2.6V1.3.6V1.5.3
Mitigating Controls (NIST 800-53 r5) AI
A reference monitor that is always invoked and analyzable structurally eliminates the non-atomic check-then-use pattern underlying TOCTOU.
Information flow enforcement can restrict which destinations the server is allowed to contact on behalf of users.
Requiring unique device identification and authentication before any connection prevents security decisions based solely on unverified reverse DNS lookups.
Mandating data-origin authentication for name/address resolution stops reliance on unauthenticated reverse DNS responses.
Input validation directly stops untrusted URLs from being accepted and fetched without destination checks.
Access enforcement that performs an atomic check-and-use decision directly stops the window in which a TOCTOU race can be exploited.
Mitigating Controls (NIST CSF 2.0) AI
Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.
Strong authentication of users/services/hardware directly prevents security decisions based on unauthenticated reverse DNS.
Secure SDLC practices directly include coding standards and reviews that prevent TOCTOU race conditions.
Monitoring DNS services can detect adverse events stemming from unverified reverse lookups.
Runtime monitoring of web applications and services can detect anomalous outbound requests indicative of SSRF.
Vulnerability identification processes can discover and record SSRF flaws in web applications.
Network protections reduce the feasibility of attackers exploiting unauthenticated reverse-DNS decisions.
Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI
Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.
Operational threat data describing SSRF campaigns can be used to tighten outbound-request allow-lists and detection rules before attackers exploit them.
Network security controls can enforce authenticated, non-DNS-based host identification.
Secure network services discourage use of unauthenticated reverse-DNS for access decisions.
Application security requirements can mandate authenticated host verification instead of reverse DNS.
Secure architecture principles discourage reliance on unauthenticated DNS for security decisions.
Secure coding practices can replace reverse-DNS checks with cryptographically verified identities.