A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
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 products
The NVD has not attached product data to this record yet; the description names what is affected.
Weakness type
References
- github.com /koxudaxi/datamodel-code-generator
- github.com /koxudaxi/datamodel-code-generator/commit/545a96c5
- github.com /rahulreddykarne/CVE-2026-63720-datamodel-code-generator
- rahulkarne.com /
- www.vulncheck.com /advisories/datamodel-code-generator-code-injection-via-unv…
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning