{"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_01M5KG2CT238548M2FMHTH9YDE","modified_at":"2026-09-10T03:51:12.477383004Z","published_at":"2026-07-28T21:50:09Z","references":["https://osv.dev/vulnerability/GHSA-wjv6-jcfj-mf9r","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"],"severity":{"label":"high","score":7.8},"sources":[{"source":"osv","source_id":"GHSA-wjv6-jcfj-mf9r","url":"https://osv.dev/vulnerability/GHSA-wjv6-jcfj-mf9r"}],"summary":"`datamodel-code-generator` vulnerable to code injection via unescaped carriage return in `--extra-template-data` `comment` field"}