Skip to main content
EPSS 0.2%top 85%

CVE-2026-55391: CWE-350: Reliance on Reverse DNS Resolution for a Security-Critical Action in koxudaxi datamodel-code-generator

0
High
VulnerabilityCVE-2026-55391cvecve-2026-55391cwe-350cwe-367cwe-918
Published: 07/28/2026 (07/28/2026, 21:45:39 UTC)
Source: CVE Database V5
Vendor/Project: koxudaxi
Product: datamodel-code-generator

Description

CVE-2026-55391 is a high-severity vulnerability in koxudaxi datamodel-code-generator versions prior to 0.63.0. The tool improperly relies on reverse DNS resolution for security-critical decisions, allowing DNS rebinding attacks to bypass network restrictions and potentially access internal services. This issue is fixed in version 0.63.0.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:L/A:N

Affected software

koxudaxi

datamodel-code-generator

Affected versions
<0.63.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/05/2026, 15:09:56 UTC

Technical Analysis

The datamodel-code-generator validates a URL host once using reverse DNS resolution in its internal functions but then allows the httpx library to resolve the host again when making connections. This discrepancy enables DNS rebinding attacks to circumvent the allow_private_network=False setting, potentially exposing internal services. The vulnerability is identified as CWE-350 (Reliance on Reverse DNS Resolution for a Security-Critical Action), CWE-367 (Time-of-check Time-of-use (TOCTOU) Race Condition), and CWE-918 (Server-Side Request Forgery). The issue is resolved in version 0.63.0 of datamodel-code-generator.

Potential Impact

An attacker can exploit this vulnerability to bypass network restrictions intended to prevent access to internal services by leveraging DNS rebinding. This can lead to unauthorized access to internal network resources, resulting in high confidentiality impact and limited integrity impact. Availability is not affected.

Mitigation Recommendations

Upgrade datamodel-code-generator to version 0.63.0 or later, where this vulnerability is fixed. No other mitigation is indicated in the vendor advisory. Patch status is not explicitly stated but the fix is included in version 0.63.0.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-16T18:57:40.183Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a6924a99c2644c7f8425681

Added to database: 07/28/2026, 21:52:41 UTC

Last enriched: 08/05/2026, 15:09:56 UTC

Last updated: 09/11/2026, 07:31:54 UTC

Views: 90

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses