AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

KerasGHSA-x4wf-678h-2pmq

Keras code injection vulnerability

Keras

CVE-2024-3660 · Published Apr 16, 2024 · updated Jun 29, 2026

Critical9.8
Fix: upgrade to 2.13.1rc0 or later
GitHub advisory

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 versions

PackageAffectedFixed in
keras
PyPI
< 2.13.1rc02.13.1rc0
Details and references
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Severity from
GitHub (reviewed advisory)
Weakness
CWE-94
Also known as
CVE-2024-3660, PYSEC-2026-369

More Keras advisories

All Keras