VulnerabilityCVE-2026-63720
datamodel-code-generator Code Injection via Unvalidated customBasePath Schema Field
Not on CISA KEV
Summary
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
See the full record, free
- Every source, score and reference in one place
- Timeline and related records
- Watch an entry and get an alert when it changes
Sources and credits
- CVE List Source: CVE Program (cve.org)
- PoC-in-GitHub Source: PoC-in-GitHub