CVE-2024-3660: Keras RCE

CVE-2024-3660

NVDCVSS scored by 134c704f-9b21-4f2e-91b3-4a467353bcc0

Vulnerability 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.
Severity Level
CRITICAL(9.8)
Published Date
Apr 16, 2024
Last Modified
Dec 1, 2026
Exploitation Status
No confirmed exploitation yet
EPSS Score (30-Day)
2.46%Probability
Root Weakness (CWE)
The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.
The software constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended syntax or behavior.
CVSS v3.1 Base Metrics — Score 9.8 (CRITICAL)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • Keras < 2.13.1
  • tensorflow keras < 2.13
  • tensorflow < 2.13
Patched Versions
  • Keras 2.13.1
  • tensorflow keras 2.13
  • tensorflow 2.13

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is critical.

  1. Check whether you run Keras and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Apr 16, 2024Published
  • Dec 1, 2026Record last modified
  • Dec 1, 2026CVSS score changed: 0.0 to 9.8
  • Dec 1, 2026Severity changed to CRITICAL

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Keras CVEsYou are reading CVE-2024-3660. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Dec 1, 2026 03:30 UTC