# CVE-2026-63720 — koxudaxi datamodel-code-generator

> As of 2026-07-27, CVE-2026-63720 is a HIGH-severity vulnerability in koxudaxi datamodel-code-generator, CVSS v3.1 7.5, EPSS 0.4% (34.3th percentile). No Threadlinqs-tracked threat campaign has been attributed to CVE-2026-63720 as of 2026-07-27; the identifier is re-checked against the Threadlinqs threat corpus on every daily ingest.

**Last updated:** 2026-07-27

## What is CVE-2026-63720?

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.

The record classifies CVE-2026-63720 under weakness class [CWE-94](https://intel.threadlinqs.com/cwe/CWE-94). Its CVSS v3 base vector states that the flaw is reachable remotely over the network, needs no prior authentication, needs a user to take an action first, and has high impact on confidentiality, integrity, availability. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 71 days ago.

## Severity and exploitation probability

- **CVSS v3.1 base score:** 7.5 — HIGH (`CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`)
- **CVSS v4.0 base score:** 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`)
- **EPSS (FIRST):** 0.4% probability of exploitation in the next 30 days, higher than 34.3% of all scored CVEs
- **CISA KEV:** Not listed in the CISA Known Exploited Vulnerabilities catalog
- **Threadlinqs priority:** 5.1/10 — a Threadlinqs composite of the CVSS base score, the EPSS percentile and public exploit availability
- **Published:** 2026-07-26, last modified 2026-07-27

## Is CVE-2026-63720 being exploited?

It currently carries a trending score of 38 in the Threadlinqs vulnerability feed.

## Affected products and versions

- [koxudaxi](https://intel.threadlinqs.com/vendors/koxudaxi): datamodel-code-generator

## How to fix CVE-2026-63720

No vendor patch reference has been recorded for CVE-2026-63720 in the tracked sources. Follow the references below for a fix, and treat the products listed above as exposed until the vendor states otherwise.

## Threat activity tracking CVE-2026-63720

No threat campaign in the Threadlinqs corpus currently references CVE-2026-63720, in its CVE list or as an indicator. The linkage is recomputed from the live corpus on every daily ingest, so this section fills in as soon as a tracked campaign cites the identifier.

## Sources

Enriched from CVE.org, NVD, FIRST EPSS. Last verified by Threadlinqs on 2026-07-27. This product uses the NVD API but is not endorsed or certified by the NVD.

**Vendor advisory and patch**

- [github.com — product](https://github.com/koxudaxi/datamodel-code-generator/commit/545a96c5)

**Third-party advisory**

- [vulncheck.com — third party advisory](https://www.vulncheck.com/advisories/datamodel-code-generator-code-injection-via-unvalidated-custombasepath-schema-field)

**Issue tracking and product pages**

- [github.com — product](https://github.com/koxudaxi/datamodel-code-generator)

Canonical: https://intel.threadlinqs.com/cve/CVE-2026-63720
Full detection coverage and IOCs for threats exploiting CVE-2026-63720 via the Threadlinqs MCP server (Purple tier): https://intel.threadlinqs.com/mcp
