Priority HIGH 82
Deserialization 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 uploaded Keras file containing a TorchModuleWrapper class to r…
CVSS 3.1CRITICAL 9.8· Network · No auth · No interaction · EPSS 0.0075 · Published 2025-10-17 · Fixed in 3.11.3 CWE-502
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 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 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 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 70
Keras version 3.11.3 is affected by a path traversal vulnerability in the keras.utils.get_file() function when extracting tar archives.
CVSS 3.0HIGH 8.0· Network · Low privileges · User interaction · EPSS 0.0071 · Published 2025-11-28 · Fixed CWE-22
Priority HIGH 69
A vulnerability in keras-team/keras version 3.15.0 allows unsafe deserialization of attacker-controlled PyTorch pickle data through the public `keras.layers.TorchModuleWrapper.from_config` method.
CVSS 3.0HIGH 7.8· Local · No auth · User interaction · EPSS 0.00304 · Published 2026-07-19 · Partial fix · 3.12.3, 3.15.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
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 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 60
A path traversal vulnerability exists in keras-team/keras version 3.14.0, specifically in the `DiskIOStore.make` method within the Keras 3 model saving and loading library.
CVSS 3.0MEDIUM 6.1· Local · No auth · User interaction · EPSS 0.00362 · Published 2026-06-22 · Partial fix · 3.12.3, 3.15.0 CWE-22
Priority MEDIUM 58
A vulnerability in keras-team/keras versions <= 3.15.0 allows for a denial of service (DoS) attack when loading malicious .keras model files via the keras.models.load_model() function.
CVSS 3.0MEDIUM 5.5· Local · No auth · User interaction · EPSS 0.0019 · Published 2026-08-10 · Partial fix · 3.12.3, 3.15.0 CWE-770
Priority MEDIUM 58
Keras versions up to and including 3.13.2 are vulnerable to an arbitrary HDF5 file read due to an incomplete fix for CVE-2026-1669.
CVSS 3.0MEDIUM 5.5· Local · No auth · User interaction · EPSS 0.0019 · Published 2026-07-01 · Partial fix · 3.12.2, 3.14.1 +2 CWE-73
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
Priority MEDIUM 41
The keras.utils.get_file API in Keras, when used with the extract=True option for tar archives, is vulnerable to a path traversal attack.
CVSS 4.0HIGH 8.9· Network · Low privileges · User interaction · EPSS 0.00631 · Published 2025-10-30 · Fixed in 3.12.0 CWE-22
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 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 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 30
A vulnerability in keras-team/keras versions <= 3.14.0 allows arbitrary local HDF5 file content disclosure due to improper handling of HDF5 ExternalLinks.
CVSS 3.0MEDIUM 6.5· Network · No auth · User interaction · EPSS 0.00767 · Published 2026-08-02 · Fixed in 3.12.3, 3.15.0 CWE-22
Priority LOW 26
The Keras.Model.load_model method, including when executed with the intended security mitigation safe_mode=True, is vulnerable to arbitrary local file loading and Server-Side Request Forgery (SSRF).
CVSS 4.0MEDIUM 5.9· Adjacent network · Low privileges · User interaction · EPSS 0.00248 · Published 2025-10-29 · Partial fix · 3.12.0 CWE-502