Priority MEDIUM 62
A 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 `keras/src/utils/file_utils.py`.
CVSS 3.1MEDIUM 6.5· Network · No auth · No interaction · EPSS 0.0033 · Published 2026-07-14 · Partial fix · 3.12.3, 3.15.0 CWE-22
Priority HIGH 76
A vulnerability in keras-team/keras version 3.14.0 allows for arbitrary code execution due to improper handling of deserialization in the `Lambda` layer.
CVSS 3.1CRITICAL 9.8· Network · No auth · No interaction · EPSS 0.00719 · Published 2026-07-03 · Partial fix · 3.12.3, 3.15.0 CWE-502
Priority HIGH 70
Keras 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`.
CVSS 3.0HIGH 8.1· Network · No auth · User interaction · EPSS 0.00563 · Published 2026-06-11 · Fixed in 3.14.0 CWE-22
Priority HIGH 73
A vulnerability in the `TFSMLayer` class of the `keras` package, version 3.13.0, allows attacker-controlled TensorFlow SavedModels to be loaded during deserialization of `.keras` models, even when `safe_mode=True`.
CVSS 3.0HIGH 8.8· Network · No auth · User interaction · EPSS 0.00405 · Published 2026-04-13 · Partial fix · 3.13.2 CWE-502
Priority LOW 31
Arbitrary 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 attacker to read local files and disclose sensitive information via…
CVSS 4.0HIGH 7.1· Network · No auth · User interaction · EPSS 0.00329 · Published 2026-02-11 · Partial fix · 3.13.1, 3.13.2 +1 CWE-200
Priority LOW 31
Allocation 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 attacker to cause a Denial of Service (DoS) through memory e…
CVSS 4.0HIGH 7.1· Network · No auth · User interaction · EPSS 0.0033 · Published 2026-01-15 · Partial fix · 3.12.1, 3.13.2 CWE-770
Priority LOW 33
The Keras Model.load_model method can be exploited to achieve arbitrary code execution, even with safe_mode=True.
CVSS 4.0HIGH 7.3· Local · Low privileges · User interaction · EPSS 0.00221 · Published 2025-09-19 · Partial fix · 3.11.3 CWE-913
Priority LOW 39
The Keras Model.load_model method can be exploited to achieve arbitrary code execution, even with safe_mode=True.
CVSS 4.0HIGH 8.6· Local · Low privileges · User interaction · EPSS 0.00203 · Published 2025-09-19 · Partial fix · 3.11.0 CWE-502
Priority HIGH 72
A 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 by convincing a user to load a specially crafted `.keras` mo…
CVSS 4.0HIGH 8.6· Local · Low privileges · User interaction · EPSS 0.00124 · Published 2025-08-11 · Fixed in 3.11.0 CWE-502
Priority HIGH 67
The Keras Model.load_model function permits arbitrary code execution, even with safe_mode=True, through a manually constructed, malicious .keras archive.
CVSS 4.0HIGH 7.3· Local · Low privileges · User interaction · EPSS 0.02604 · Published 2025-03-11 · Fixed in 3.8.0, 3.9.0 CWE-94
Priority MEDIUM 62
An 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.
CVSS 3.1MEDIUM 6.5· Network · No auth · User interaction · EPSS 0.00237 · Published 2025-01-08 · No fix listed CWE-494
Priority MEDIUM 52
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 irrespectiv…
CVSS 3.1CRITICAL 9.8· Network · No auth · No interaction · EPSS 0.01745 · Published 2024-04-16 · Fixed in 2.13, 2.13.1rc0 CWE-94