CVE-2026-63720

HIGH CVSS 4.0: 7.5 EPSS 0.42%
Updated Jul 27, 2026
Koxudaxi
Parameter Value
CVSS 7.5 (HIGH)
Affected Versions before 0.70.0
Type CWE-94 (Code Injection)
Vendor Koxudaxi
Public PoC No

datamodel-code-generator prior to version 0.70.0 contains a code injection vulnerability that allows attackers who control input schemas to achieve remote code execution by supplying a malicious customBasePath value containing embedded newlines and a dot-free Python expression. The crafted value is emitted verbatim into a generated 'from ... import ...' statement without identifier validation, causing arbitrary Python code to execute when the generated module is imported.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Attack Requirements
None
No additional conditions
Privileges Required
None
No privileges needed
User Interaction
Active
User action required

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products

koxudaxi:datamodel-code-generator