CVE-2026-54654
2 advisories.
PyPI/datamodel-code-generator CVE-2026-54654: high 7.8, EPSS 0.21%
`datamodel-code-generator` vulnerable to code injection via unescaped carriage return in `--extra-template-data` `comment` field
Action: Upgrade datamodel-code-generator to 0.60.2 or later.
pip install datamodel-code-generator==0.60.2Affected
| introduced | fixed | last affected |
|---|---|---|
| 0.14.1 | 0.60.2 | - |
Fixed versions
| 0.60.2 |
Sources
- osv: 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
CVE-2026-54654 · published · modified · JSON
PyPI/datamodel-code-generator CVE-2026-54654: high 7.8, EPSS 0.21%
`datamodel-code-generator` vulnerable to code injection via unescaped carriage return in `--extra-template-data` `comment` field
Action: Upgrade datamodel-code-generator to 0.60.2 or later.
pip install datamodel-code-generator==0.60.2Affected
| introduced | fixed | last affected |
|---|---|---|
| 0.14.1 | 0.60.2 | - |
Fixed versions
| 0.60.2 |
Sources
- osv: 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
CVE-2026-54654 · published · modified · JSON