Keras

15 CVEs across 1 Keras products. Browse Keras vulnerabilities, severities, and proof-of-concept exploits.

Keras products with known CVEs

ProductCVEs
Keras15
Keras CVEs — newest first
CVESeverityScorePublishedSummary
CVE-2026-12482Medium6.52026-07-14A vulnerability in keras-team/keras version 3.12.0 allows an attacker to craft a malicious tar archive that bypasses the `filter_safe_tarinfos` validation in `…
CVE-2026-12481Critical9.82026-07-03A vulnerability in keras-team/keras version 3.14.0 allows for arbitrary code execution due to improper handling of deserialization in the `Lambda` layer. Speci…
CVE-2026-11816High8.12026-06-11Keras versions prior to 3.14.0 are vulnerable to a path traversal issue in the archive extraction utilities located in `keras/src/utils/file_utils.py`. The fun…
CVE-2026-1462High7.82026-04-13A vulnerability in the `TFSMLayer` class of the `keras` package, version 3.13.0, allows attacker-controlled TensorFlow SavedModels to be loaded during deserial…
CVE-2026-1669High7.52026-02-11Arbitrary file read in the model loading mechanism (HDF5 integration) in Keras versions 3.0.0 through 3.13.1 on all supported platforms allows a remote attacke…
CVE-2026-0897High7.52026-01-15Allocation of Resources Without Limits or Throttling in the HDF5 weight loading component in Google Keras 3.0.0 through 3.13.0 on all platforms allows a remote…
CVE-2025-120602025-10-30The keras.utils.get_file API in Keras, when used with the extract=True option for tar archives, is vulnerable to a path traversal attack. The utility uses Pyth…
CVE-2025-120582025-10-29The Keras.Model.load_model method, including when executed with the intended security mitigation safe_mode=True, is vulnerable to arbitrary local file loading…
CVE-2025-49655Critical9.82025-10-17Deserialization of untrusted data can occur in versions of the Keras framework running versions 3.11.0 up to but not including 3.11.3, enabling a maliciously u…
CVE-2025-9906High7.32025-09-19The Keras Model.load_model method can be exploited to achieve arbitrary code execution, even with safe_mode=True. One can create a specially crafted .keras mo…
CVE-2025-9905High7.32025-09-19The Keras Model.load_model method can be exploited to achieve arbitrary code execution, even with safe_mode=True. One can create a specially crafted .h5/.hdf5…
CVE-2025-8747High7.82025-08-11A safe mode bypass vulnerability in the `Model.load_model` method in Keras versions 3.0.0 through 3.10.0 allows an attacker to achieve arbitrary code execution…
CVE-2025-1550Critical9.82025-03-11The Keras Model.load_model function permits arbitrary code execution, even with safe_mode=True, through a manually constructed, malicious .keras archive. By al…
CVE-2024-55459Medium6.52025-01-08An issue in keras 3.7.0 allows attackers to write arbitrary files to the user's machine via downloading a crafted tar file through the get_file function.
CVE-2024-3660Critical9.82024-04-16A arbitrary code injection vulnerability in TensorFlow's Keras framework (<2.13) allows attackers to execute arbitrary code with the same permissions as the ap…