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.
CVE-2026-63720
Score 7.5 from GitHub Security Advisory (severity: HIGH) published 2026-07-26. the CNA's CVSS baseline 7.5; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.5
- EG Score
- 7.5(medium)
- EG Risk
- 34(Track)EG Risk 34/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity75% × 45%Exploitation1% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 1%
- EPSS %ILE
- 53%
- KEV
- Not listed
Published
July 26, 2026
Last Modified
August 14, 2026
Advisory Details (3)
Auto-updated Jul 26, 2026datamodel-code-generator Code Injection via Unvalidated customBasePath Schema Field | Advisories | VulnCheck
https://www.vulncheck.com/advisories/datamodel-code-generator-code-injection-via-unvalidated-custombasepath-schema-fieldGitHub - koxudaxi/datamodel-code-generator: Generate Pydantic v2 models, dataclasses, TypedDict, and msgspec.Struct from OpenAPI, JSON Schema, GraphQL, Avro, Protobuf, and raw JSON/YAML/CSV. · GitHub
https://github.com/koxudaxi/datamodel-code-generatorcommit 545a96c5 (koxudaxi/datamodel-code-generator)
Patch available: koxudaxi/datamodel-code-generator 0.70.0 (contains commit 545a96c5)
https://github.com/koxudaxi/datamodel-code-generator/commit/545a96c5Vendor Advisories for CVE-2026-63720(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 18× in last 7d / 89× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 182 total refreshes for this CVE.
- 2026-09-15 09:18 UTCEG score recompute
- 2026-09-15 09:18 UTCGHSA enrichment
- 2026-09-14 10:17 UTCGHSA enrichment
- 2026-09-13 21:21 UTCEG score recompute
- 2026-09-13 21:21 UTCGHSA enrichment
- 2026-09-13 07:13 UTCGHSA enrichment
- 2026-09-12 18:17 UTCEG score recompute
- 2026-09-12 18:17 UTCGHSA enrichment
- 2026-09-12 05:17 UTCGHSA enrichment
- 2026-09-11 16:20 UTCEG score recompute
- 2026-09-11 16:20 UTCGHSA enrichment
- 2026-09-11 14:53 UTCEPSS rescore
- 2026-09-11 09:37 UTCEPSS rescore
- 2026-09-11 02:04 UTCGHSA enrichment
- 2026-09-10 10:23 UTCEG score recompute
- 2026-09-10 10:23 UTCGHSA enrichment
- 2026-09-09 08:28 UTCEG score recompute
- 2026-09-09 08:28 UTCGHSA enrichment
- 2026-09-08 22:01 UTCEPSS rescore
- 2026-09-07 21:09 UTCEG score recompute
- 2026-09-07 21:09 UTCGHSA enrichment
- 2026-09-07 16:01 UTCEPSS rescore
- 2026-09-06 23:59 UTCEG score recompute
- 2026-09-06 23:59 UTCGHSA enrichment
- 2026-09-06 13:47 UTCEPSS rescore
Show 75 moreShow fewer
- 2026-09-06 08:17 UTCGHSA enrichment
- 2026-09-05 19:17 UTCEG score recompute
- 2026-09-05 19:17 UTCGHSA enrichment
- 2026-09-05 15:31 UTCEPSS rescore
- 2026-09-05 05:53 UTCEG score recompute
- 2026-09-05 05:53 UTCGHSA enrichment
- 2026-09-04 12:37 UTCEG score recompute
- 2026-09-04 12:37 UTCGHSA enrichment
- 2026-09-04 05:07 UTCEPSS rescore
- 2026-09-02 14:12 UTCEPSS rescore
- 2026-09-01 23:05 UTCEG score recompute
- 2026-09-01 23:05 UTCGHSA enrichment
- 2026-09-01 13:54 UTCEPSS rescore
- 2026-09-01 04:40 UTCEPSS rescore
- 2026-08-31 01:53 UTCEG score recompute
- 2026-08-31 01:53 UTCGHSA enrichment
- 2026-08-30 19:17 UTCEPSS rescore
- 2026-08-30 12:56 UTCEG score recompute
- 2026-08-30 12:56 UTCGHSA enrichment
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-29 23:59 UTCEG score recompute
- 2026-08-29 23:59 UTCGHSA enrichment
- 2026-08-28 21:42 UTCEPSS rescore
- 2026-08-27 21:03 UTCEG score recompute
- 2026-08-27 21:03 UTCGHSA enrichment
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-27 04:44 UTCGHSA enrichment
- 2026-08-26 15:24 UTCEG score recompute
- 2026-08-26 15:23 UTCGHSA enrichment
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-26 02:24 UTCEG score recompute
- 2026-08-26 02:24 UTCGHSA enrichment
- 2026-08-25 13:49 UTCEPSS rescore
- 2026-08-25 13:28 UTCEG score recompute
- 2026-08-25 13:28 UTCGHSA enrichment
- 2026-08-25 00:26 UTCEG score recompute
- 2026-08-25 00:26 UTCGHSA enrichment
- 2026-08-24 11:29 UTCEG score recompute
- 2026-08-24 11:29 UTCGHSA enrichment
- 2026-08-23 22:32 UTCGHSA enrichment
- 2026-08-23 09:36 UTCEG score recompute
- 2026-08-23 09:36 UTCGHSA enrichment
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-22 20:40 UTCGHSA enrichment
- 2026-08-22 07:43 UTCEG score recompute
- 2026-08-22 07:43 UTCGHSA enrichment
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-21 18:46 UTCGHSA enrichment
- 2026-08-21 05:49 UTCEG score recompute
- 2026-08-21 05:49 UTCGHSA enrichment
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 16:52 UTCGHSA enrichment
- 2026-08-20 03:56 UTCEG score recompute
- 2026-08-20 03:56 UTCGHSA enrichment
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-19 14:59 UTCGHSA enrichment
- 2026-08-19 02:03 UTCEG score recompute
- 2026-08-19 02:03 UTCGHSA enrichment
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-18 13:06 UTCGHSA enrichment
- 2026-08-17 23:46 UTCEG score recompute
- 2026-08-17 23:46 UTCGHSA enrichment
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-17 10:49 UTCGHSA enrichment
- 2026-08-16 21:53 UTCEG score recompute
- 2026-08-16 21:53 UTCGHSA enrichment
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 08:56 UTCEG score recompute
- 2026-08-16 08:56 UTCGHSA enrichment
- 2026-08-15 20:00 UTCGHSA enrichment
- 2026-08-15 07:03 UTCEG score recompute
- 2026-08-15 07:03 UTCGHSA enrichment
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-14 17:12 UTCEG score recompute
- 2026-08-14 17:12 UTCGHSA enrichment
Related CVEs(same CWE)
Same CWE
10 shownCWE-94
- CVE-2003-1432EG 10.0EPSS p94HIGH
- CVE-2002-0495EG 10.0EPSS p96HIGH
- CVE-1999-0702EG 10.0EPSS p98HIGH
- CVE-1999-0509EG 10.0EPSS p98HIGH
- CVE-2006-1318EG 9.3EPSS p97HIGH
- CVE-2006-1301EG 9.3EPSS p95HIGH
- CVE-2006-1308EG 9.3EPSS p95HIGH
- CVE-2006-1309EG 9.3EPSS p95HIGH
- CVE-2006-1304EG 9.3EPSS p96HIGH
- CVE-2006-1306EG 9.3EPSS p95HIGH
Frequently asked(5)
What is CVE-2026-63720?
When was CVE-2026-63720 disclosed?
Is CVE-2026-63720 actively exploited?
What is the CVSS score of CVE-2026-63720?
How do I remediate CVE-2026-63720?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-63720
Is Your Infrastructure Affected by CVE-2026-63720?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.