CVE-2026-54653
2 advisories.
PyPI/datamodel-code-generator CVE-2026-54653: high 8.8
`datamodel-code-generator` vulnerable to code injection in via attacker-controlled `default_factory` schema 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.17.0 | 0.60.2 | - |
Fixed versions
| 0.60.2 |
Sources
- osv: GHSA-386q-5hp3-95m9
- https://github.com/koxudaxi/datamodel-code-generator/security/advisories/GHSA-386q-5hp3-95m9
- https://github.com/koxudaxi/datamodel-code-generator/commit/17fc235e234cbcfaaadef8c74cb72c9687db0d1d
- https://github.com/koxudaxi/datamodel-code-generator
- https://github.com/koxudaxi/datamodel-code-generator/releases/tag/0.60.2
CVE-2026-54653 · published · modified · JSON
PyPI/datamodel-code-generator CVE-2026-54653: high 8.8
`datamodel-code-generator` vulnerable to code injection in via attacker-controlled `default_factory` schema 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.17.0 | 0.60.2 | - |
Fixed versions
| 0.60.2 |
Sources
- osv: PYSEC-2026-3555
- https://github.com/koxudaxi/datamodel-code-generator/security/advisories/GHSA-386q-5hp3-95m9
- https://github.com/koxudaxi/datamodel-code-generator/commit/17fc235e234cbcfaaadef8c74cb72c9687db0d1d
- 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-386q-5hp3-95m9
- https://nvd.nist.gov/vuln/detail/CVE-2026-54653
CVE-2026-54653 · published · modified · JSON