01 Record
CVE-2026-54653
`datamodel-code-generator` vulnerable to code injection in via attacker-controlled `default_factory` schema field
HighPUBLISHEDCNA: GitHub_M
CNA base score8.8 CVSS v3.xCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
02 Description
`datamodel-code-generator` vulnerable to code injection in via attacker-controlled `default_factory` schema field
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 0.71% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 53.0% of scored records. A rank, not a probability.
- NVD base score
- 8.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVD analysis status
- Analyzed. NVD last modified this record on 2026-10-23.
- Red Hat severity
- No Red Hat rating. Red Hat rates the CVEs that affect its products.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2026-07-28 21:48Z3 MO AGO
- Last updated
- 2026-07-29 13:27Z3 MO AGO
- Reserved
- 2026-06-15
- Assigning CNA
- GitHub_M
- Record state
- PUBLISHED
- Severity
- High (CVSS 8.8)
- CNA CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- Data version
- 5.2
- Document digest
- 5fba16948afcaf82e1481bf4ed484bf66d7e2ff13a707a9059d1ddd3d4cc4295
05 Affected products
VendorProductVersionsPlatforms
06 References
- github.comhttps://github.com/koxudaxi/datamodel-code-generator/security/advisories/GHSA-386q-5hp3-95m9
- github.comhttps://github.com/koxudaxi/datamodel-code-generator/commit/17fc235e234cbcfaaadef8c74cb72c9687db0d1d
- github.comhttps://github.com/koxudaxi/datamodel-code-generator/releases/tag/0.60.2
- gist.github.comhttps://gist.github.com/thegr1ffyn/9648b0fe4fcf7d569ac8e61dd11eebaf