Get real-time updates on Telegram
CVE-2026-127208: datamodel-code-generator 0 to before 0.84.0
CVE-2026-127208. CVSS 3.1 base score 8.8 (HIGH, Vendor/CNA). EPSS 0.00371 (percentile 0.31542), scored 13-Nov-2026. Fixed version: 213ff2c4ab65839d09ea76b93ea446f404a8e5b3. Fixed version: ebfc11d0644d37a71374b28aac06d98748e584ec.
Affected technology
datamodel-code-generator · 0 to before 0.84.0
datamodel-code-generator
Description’s affected range: before 0.84.0
Component: Not specified by the source
Attack conditions (Vendor/CNA, CVSS 4.0): Network (remote) · No privileges required · Active user interaction
What an attacker can do
Attackers can embed malicious Python expressions such as __import__ calls within quoted string literals in the generated source code, which Pydantic v2 evaluates as a ForwardRef via eval() during model_rebuild(), resulting in arbitrary code execution on developer workstations, CI/CD pipelines, or applications that generate and import the produced models at runtime. Vendor/CNA’s CVSS 4.0 assessment (base score 8.6/10) rates confidentiality, integrity and availability impact as high.
- CWE
- CWE-94
- CCR priority
- 35.3 /100 (P4)
- CVSS 3.1
- 8.8 /10 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H · Vendor/CNA
- EPSS
- 0.00371 · percentile 0.31548 · 2026-11-15
- KEV
- no
Provenance
- FIRST EPSS daily exploit-probability · Source record · observed 2026-11-16 06:41:02.068004+00:00 UTC
- GitHub Advisory Database · Source record · observed 2026-11-12 21:34:15.224103+00:00 UTC
- NVD CVE API 2.0 · Source record · observed 2026-11-13 19:41:53.589872+00:00 UTC
- OSV.dev · Source record · observed 2026-11-15 03:33:08.988660+00:00 UTC
Stable permalink: https://cybercodered.org/item/cve-cve-2026-127208.html