CVE.RADIO
FREN

CVE-2026-63720

koxudaxi datamodel-code-generatorVulnerabilityCVSS 7.5

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.

No public exploitation has been reported so far. No distribution fix is listed yet; apply vendor mitigations and monitor.

Recommended action: Track your distribution's security tracker and apply the fix as soon as it ships.

CVE-2026-63720 koxudaxi datamodel-code-generator Vulnerability

Severity metrics

CVSS 4.0 : 7.5 HIGH · CVSS 3.1 : 7.5 HIGH

Attack vectorNetwork (remote)
Attack complexityHigh
Attack requirementsNone
Privileges requiredNone
User interactionActive
Confidentiality impactHigh
Integrity impactHigh
Availability impactHigh
Subsequent confidentialityNone
Subsequent integrityNone
Subsequent availabilityNone

Vector: AV:N/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected & fixed versions by distribution

Versions are the native distribution strings (backport-aware): RHEL/Debian/SUSE backport fixes, so compare with the distro version comparator (dpkg / rpm / vercmp), not the upstream version.

No affected package in the tracked watchlist yet (Debian, Ubuntu, Arch, SUSE, Red Hat...). Triage may still be pending.

Sources

Published 2026-07-26 · updated 2026-07-27 · source: NVD