CVE-2024-3660 json
Arbitrary code injection vulnerability in Keras framework < 2.13
published 2024-04-16 2 y ago modified 2026-07-01 4 mo ago also GHSA-x4wf-678h-2pmq , PYSEC-2026-369 , EUVD-2024-1329
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.7%
- EPSS 1.7% chance of exploitation in 30 days, percentile 77%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi keras 2.13.1rc0
- tensorflow keras 2.13
- tensorflow tensorflow 2.13
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
1.75% chance of exploitation in the next 30 days, higher than 77% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | keras | <2.13.1rc0 |
2.13.1rc0 |
Affected products
- tensorflow keras
- tensorflow tensorflow
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
kb.cert.org
/vuls/id/253266
web, third-party-advisory, vdb-entry
-
kb.cert.org
/vuls/id/253266
web, third-party-advisory, vdb-entry
-
nvd.nist.gov
/vuln/detail/CVE-2024-3660
advisory
-
github.com
/keras-team/keras
package
-
github.com
/keras-team/keras/compare/r2.12...r2.13
web
-
pypi.org
/project/keras
package
-
github.com
/advisories/GHSA-x4wf-678h-2pmq
advisory
Sources
- CVE List CVE-2024-3660
- GitHub Advisory GHSA-x4wf-678h-2pmq
- NVD CVE-2024-3660
- OSV PYSEC-2026-369
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.