# CVE-2024-3660: Arbitrary code injection vulnerability in Keras framework < 2.13

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.75%, higher than 78% of CVEs (2026-12-01)
- Published: 2024-04-16T20:09:26.220Z
- Modified: 2026-12-01T00:58:21.035Z
- Also known as: GHSA-x4wf-678h-2pmq, PYSEC-2026-369
- Weaknesses: CWE-94, CWE-502
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: certcc

## 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.

(As written by CVE List.)

## Affected

- tensorflow keras: before 2.13
- tensorflow tensorflow: before 2.13
- keras (PyPI): before 2.13.1rc0
- keras keras: before 2.13.1

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- PyPA Advisory Database: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`

## References

- <https://kb.cert.org/vuls/id/253266> (third-party-advisory, vdb-entry, web)
- <https://www.kb.cert.org/vuls/id/253266> (third-party-advisory, vdb-entry, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-3660> (advisory)
- <https://github.com/keras-team/keras> (package)
- <https://github.com/keras-team/keras/compare/r2.12...r2.13> (web)
- <https://pypi.org/project/keras> (package)
- <https://github.com/advisories/GHSA-x4wf-678h-2pmq> (advisory)

## Sources

- CVE List: [CVE-2024-3660](https://www.cve.org/CVERecord?id=CVE-2024-3660), CVE Terms of Use, modified 2026-12-01
- GitHub Advisory Database: [GHSA-x4wf-678h-2pmq](https://github.com/advisories/GHSA-x4wf-678h-2pmq), CC-BY-4.0, modified 2026-06-29
- NVD: [CVE-2024-3660](https://nvd.nist.gov/vuln/detail/CVE-2024-3660), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-369](https://osv.dev/vulnerability/PYSEC-2026-369), CC-BY-4.0, modified 2026-07-01

---

Page: https://cve.day/CVE-2024-3660 · Whole record: https://cve.day/CVE-2024-3660.json · Rebuilt by cve.day 2026-12-01T01:17:22.853Z
