{"action":"Upgrade datamodel-code-generator to 0.60.2 or later.","affected":[{"fixed":"0.60.2","introduced":"0.14.1"}],"component":"datamodel-code-generator","cve_ids":["CVE-2026-54654"],"ecosystem":"PyPI","epss":0.0021,"exploited":false,"fixed_versions":["0.60.2"],"ghsa_id":"GHSA-wjv6-jcfj-mf9r","id":"tcs_01M5KH62FW12RXCYZCPRD4H4TM","modified_at":"2026-08-04T14:30:26.210993125Z","published_at":"2026-08-04T11:34:44.771231Z","references":["https://osv.dev/vulnerability/PYSEC-2026-3566","https://github.com/koxudaxi/datamodel-code-generator/security/advisories/GHSA-wjv6-jcfj-mf9r","https://github.com/koxudaxi/datamodel-code-generator/commit/b73abb5cd703a50471b8950bbd3bd0b82ad71de7","https://github.com/koxudaxi/datamodel-code-generator","https://github.com/koxudaxi/datamodel-code-generator/releases/tag/0.60.2","https://pypi.org/project/datamodel-code-generator","https://github.com/advisories/GHSA-wjv6-jcfj-mf9r","https://nvd.nist.gov/vuln/detail/CVE-2026-54654"],"severity":{"label":"high","score":7.8},"sources":[{"source":"osv","source_id":"PYSEC-2026-3566","url":"https://osv.dev/vulnerability/PYSEC-2026-3566"}],"summary":"`datamodel-code-generator` vulnerable to code injection via unescaped carriage return in `--extra-template-data` `comment` field"}