PyPA Advisory Database
PYSEC-2026-369
Keras code injection vulnerability
Details
A arbitrary code injection vulnerability in TensorFlow's Keras framework (<2.13) allows attackers to execute arbitrary code with the same permissions as the application using a model that allow arbitrary code irrespective of the application.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | keras | All versions before 2.13.1rc0 (fixed in 2.13.1rc0) |