DNS Rebinding Vulnerability in Datamodel Code Generator by Koxudaxi
CVE-2026-55391

7.5HIGH

Key Information:

Vendor

Koxudaxi

Vendor
CVE Published:
28 July 2026

What is CVE-2026-55391?

The Datamodel Code Generator, prior to version 0.63.0, contains a vulnerability that allows DNS rebinding attacks. It improperly validates URLs, enabling potential access to internal services by bypassing the 'allow_private_network=False' setting. This occurs because the tool performs host validation only once, allowing a subsequent resolution by httpx that could lead to exploitation. This vulnerability poses a risk to users by making their internal services accessible under certain conditions.

Affected Version(s)

datamodel-code-generator < 0.63.0

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
High
Integrity:
Low
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.