VDB
CVE-2026-63720
CVE-2026-63720
PUBLISHED
CVSS 7.5 HIGH
Reported by VulnCheck · Published July 26, 2026
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.
Risk Scores
CVSS 4.0
7.5
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| koxudaxi | datamodel-code-generator | 0 |
| koxudaxi | datamodel-code-generator | 0, 0, 0 |
Timeline
- Jul 26, 2026 EPSS Score
- Jul 26, 2026 Coalition ESS Score
- Jul 26, 2026 CVE Published
- Aug 7, 2026 EPSS Score
- Aug 12, 2026 CVE Updated
- Aug 24, 2026 EPSS Score
- Aug 26, 2026 EPSS Score
- Aug 28, 2026 EPSS Score
- Aug 30, 2026 EPSS Score
- Sep 3, 2026 EPSS Score
- Sep 5, 2026 EPSS Score
- Sep 6, 2026 EPSS Score
References
- Patch Commit productpatch
- Product product
- third-party-advisory
- Blog Post exploit
- technical-description