{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-63720","published":"2026-07-26T05:16:23.927000Z","last_modified":"2026-10-24T13:10:00.147000Z","status":"Deferred","cvss":{"version":"4.0","score":7.5,"severity":"HIGH","vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"disclosure@vulncheck.com","primary":false},"auth":false,"cwes":["CWE-94"],"cpes":[],"cpes_truncated":false,"vendors":["koxudaxi"],"products":["koxudaxi/datamodel-code-generator"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2026-63720/","html_en":"/en/cve/CVE-2026-63720/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-63720","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-63720"},"untrusted":{"vendor_name":"koxudaxi","product_name":"datamodel-code-generator","desc_en":"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.","affected":[{"untrusted_vendor":"koxudaxi","untrusted_product":"datamodel-code-generator","versions":[]}],"references":[{"url":"https://github.com/koxudaxi/datamodel-code-generator","tags":[]},{"url":"https://github.com/koxudaxi/datamodel-code-generator/commit/545a96c5","tags":[]},{"url":"https://github.com/rahulreddykarne/CVE-2026-63720-datamodel-code-generator","tags":[]},{"url":"https://rahulkarne.com/#/cve/CVE-2026-63720","tags":[]},{"url":"https://www.vulncheck.com/advisories/datamodel-code-generator-code-injection-via-unvalidated-custombasepath-schema-field","tags":[]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:11538-1","url":"https://www.suse.com/support/update/","published":"2026-08-18T00:00:00+00:00","severity":"high","exploited":false,"untrusted":{"title":"python313-datamodel-code-generator-0.72.3-1.1 on GA media"}}]}