Skip to main content
EPSS 0.2%top 89%

CVE-2026-55403: CWE-200: Exposure of Sensitive Information to an Unauthorized Actor in koxudaxi datamodel-code-generator

0
Low
VulnerabilityCVE-2026-55403cvecve-2026-55403cwe-200cwe-601
Published: 07/28/2026 (07/28/2026, 21:31:49 UTC)
Source: CVE Database V5
Vendor/Project: koxudaxi
Product: datamodel-code-generator

Description

datamodel-code-generator generates Python data models from schema definitions. Prior to 0.63.0, src/datamodel_code_generator/http.py get_body reuses Authorization, Cookie, and Proxy-Authorization headers when following cross-origin redirects while fetching remote schemas, allowing credentials scoped to one schema host to be leaked to another redirect target. This issue is fixed in version 0.63.0.

CVSS v3.1

Score 3.7low

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

Affected software

koxudaxi

datamodel-code-generator

Affected versions
<0.63.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/29/2026, 21:31:37 UTC

Technical Analysis

The datamodel-code-generator tool, used for generating Python data models from schema definitions, had a vulnerability (CVE-2026-55403) in versions before 0.63.0. The vulnerability involves the reuse of sensitive HTTP headers (Authorization, Cookie, Proxy-Authorization) when following cross-origin redirects in the function get_body within src/datamodel_code_generator/http.py. This behavior can cause credentials scoped to one schema host to be inadvertently sent to another redirect target, leading to exposure of sensitive information. The vulnerability is classified under CWE-200 (Exposure of Sensitive Information) and CWE-601 (Open Redirect). The issue is resolved in version 0.63.0.

Potential Impact

The vulnerability allows unauthorized exposure of sensitive credentials (Authorization, Cookie, Proxy-Authorization headers) to unintended hosts during cross-origin redirects when fetching remote schemas. This could lead to credential leakage but does not affect integrity or availability. The CVSS score is 3.7 (low severity), reflecting limited impact and the requirement for network access with high attack complexity.

Mitigation Recommendations

Upgrade to datamodel-code-generator version 0.63.0 or later, where this vulnerability is fixed. No other mitigation is indicated or required.

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-16T21:48:43.124Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a6924a99c2644c7f8425686

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

Last enriched: 07/29/2026, 21:31:37 UTC

Last updated: 09/11/2026, 22:06:34 UTC

Views: 62

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