CVE-2024-3660Keras
Critical 9.8 No auth needed
Follow: this CVE · Keras · Keras We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 2.5% probability of exploitation in 30 days · percentile 85
- Auth required
- No
- Published
- Apr 16, 2024
- Updated
- Dec 1, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Keras.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | keras |
< 2.13.1rc0 |
2.13.1rc0 |
pip install "keras>=2.13.1rc0" |
| PyPI | keras |
< 2.13.1rc0 |
2.13.1rc0 |
pip install "keras>=2.13.1rc0" |
Per OSV / GitHub Advisories (GHSA-x4wf-678h-2pmq, PYSEC-2026-369). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| keras | keras | < 2.13.1 |
Official sources
References
Links published by the sources. Open them with care.
- kb.cert.org Third Party Advisory VDB Entry
- www.kb.cert.org Third Party Advisory VDB Entry