Vulnerability · Published Apr 16, 2024 · Assigned by certcc
CVE-2024-3660Arbitrary code injection vulnerability in Keras framework < 2.13
Critical 9.8
In plain English
A critical-severity security flaw in keras from tensorflow. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.7% (higher than 78% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)1.7%top 22.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC
Official description
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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | keras | 2.13.1rc0 | GHSA-x4wf-678h-2pmq |
| PyPI | keras | 2.13.1rc0 | PYSEC-2026-369 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| tensorflow | keras | * – before 2.13 |