VulnerabilityCVE-2026-54621GHSA-j884-q54q-mmx3
`datamodel-code-generator` vulnerable to code injection via unescaped carriage return in GraphQL Union description
Not on CISA KEVCVSS 7.8 (v3.1)
Summary
datamodel-code-generator generates Python data models from schema definitions. Prior to 0.60.1, GraphQL Union description values in src/datamodel_code_generator/model/template/UnionTypeStatement.jinja2 and src/datamodel_code_generator/model/template/UnionTypeStatement.py312.jinja2 are rendered into
See the full record, free
- Every source, score and reference in one place
- Timeline and related records
- Watch an entry and get an alert when it changes
Sources and credits
- CVE List Source: CVE Program (cve.org)
- GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)