TJEH / CVE reading sheet
CVE-2026-127208
The available vulnerability information, collected from NVD and presented by TJEH.
View the official NVD record (new tab)Highest published CVSS score
8.8 / 10
Scores may come from the assigning authority or NIST and can change.
- Published
- 12 Nov 2026, 22:17
- NVD update
- 13 Nov 2026, 18:17
- Last collected by TJEH
- 13 Nov 2026, 20:20
Times shown in Paris time.
In plain language
Raw watch record
This record has not yet been explained by TJEH. It shows the source information as published.
What the source reports
Source description as published by NVD
datamodel-code-generator before 0.84.0 contains a code injection vulnerability that allows attackers to achieve arbitrary code execution by supplying a malicious JSON Schema with a crafted x-python-type annotation containing a string ast.Constant node in a subscript slice position, which bypasses validation in parse_python_type_annotation and _python_type_expr_from_ast. 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.
Fix and what to do
No verified fix here yet
Check whether your product and version are affected, then follow the publisher’s advisory to update. A published fix does not mean it has been installed on your systems.
Published CVSS metrics
CVSS 4.0 · 8.6/10
disclosure@vulncheck.com
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XCVSS 3.1 · 8.8/10
disclosure@vulncheck.com
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Reported weaknesses : CWE-94