Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-63720

published high CVSS 4.0 · 7.5

datamodel-code-generator Code Injection via Unvalidated customBasePath Schema Field

Published
26 Jul 2026, 03:51:18 UTC
Updated
14 Aug 2026, 16:50:34 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
koxudaxi — datamodel-code-generator0 to < 0.70.0 · Other versions: affected Affected Not stated VulnCheck
SUSE / openSUSE openSUSE-Tumbleweed python313-datamodel-code-generatoraarch64 Advisory build 0.72.3-1.1 OPENSUSE-SU-2026:11538-1
SUSE / openSUSE openSUSE-Tumbleweed python313-datamodel-code-generatorppc64le Advisory build 0.72.3-1.1 OPENSUSE-SU-2026:11538-1
SUSE / openSUSE openSUSE-Tumbleweed python313-datamodel-code-generators390x Advisory build 0.72.3-1.1 OPENSUSE-SU-2026:11538-1
SUSE / openSUSE openSUSE-Tumbleweed python313-datamodel-code-generatorx86_64 Advisory build 0.72.3-1.1 OPENSUSE-SU-2026:11538-1
SUSE / openSUSE openSUSE-Tumbleweed python314-datamodel-code-generatoraarch64 Advisory build 0.72.3-1.1 OPENSUSE-SU-2026:11538-1
SUSE / openSUSE openSUSE-Tumbleweed python314-datamodel-code-generatorppc64le Advisory build 0.72.3-1.1 OPENSUSE-SU-2026:11538-1
SUSE / openSUSE openSUSE-Tumbleweed python314-datamodel-code-generators390x Advisory build 0.72.3-1.1 OPENSUSE-SU-2026:11538-1
Show 1 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed python314-datamodel-code-generatorx86_64 Advisory build 0.72.3-1.1 OPENSUSE-SU-2026:11538-1

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.

en · VulnCheck · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
7.5 / 10
Severity
high
Provider
VulnCheck · cna
Vector string
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
Scenarios
en: GENERAL

Additional Assessments

Additional normalized CVSS assessments
VersionScoreSeverityProviderVectorScenarios
3.1 7.5 high VulnCheck · cna CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
koxudaxi datamodel-code-generator 0 to < 0.70.0 (affected · custom)Default: affected VulnCheck · cna

Weaknesses

1
  • CWE-94 Improper Control of Generation of Code ('Code Injection') (VulnCheck · cna)

References

5

Provider assertions

2

VulnCheck · cna

datamodel-code-generator Code Injection via Unvalidated customBasePath Schema Field

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
d79a8b3099666cdb7089e439bbe5e0f71a344eb405a118da10826791dc180a73
Ingested
23 Sep 2026, 09:25:23 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected