cbcvebase.

Keras-Team Keras vulnerabilities

10 known vulnerabilities affecting keras-team/keras-team_keras.

Total CVEs
10
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
CRITICAL1HIGH6MEDIUM3

Vulnerabilities

Page 1 of 1
CVE-2026-12481P2CRITICALCVSS 9.8≥ unspecified, ≤ latest2026-07-03
CVE-2026-12481 [CRITICAL] CWE-502 CVE-2026-12481: A vulnerability in keras-team/keras version 3.14.0 allows for arbitrary code execution due to improp 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. Specifically, the `_raise_for_lambda_deserialization()` function fails to enforce the safe-mode guard when `safe_mode` is set to `None`, which is the default value when `from_config()` is called
nvd
CVE-2025-12638P3HIGHCVSS 8.0≥ unspecified, ≤ latest2025-11-28
CVE-2025-12638 [HIGH] CWE-22 CVE-2025-12638: Keras version 3.11.3 is affected by a path traversal vulnerability in the keras.utils.get_file() fun Keras version 3.11.3 is affected by a path traversal vulnerability in the keras.utils.get_file() function when extracting tar archives. The vulnerability arises because the function uses Python's tarfile.extractall() method without the security-critical filter='data' parameter. Although Keras attempts to filter unsafe paths using filter_safe_paths(), t
nvd
CVE-2025-12060P3HIGHCVSS 8.9≥ unspecified, ≤ latest2025-10-30
CVE-2025-12060 [HIGH] CWE-22 CVE-2025-12060: The keras.utils.get_file API in Keras, when used with the extract=True option for tar archives, is v 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. The utility uses Python's tarfile.extractall function without the filter="data" feature. A remote attacker can craft a malicious tar archive containing special symlinks, which, when extracted, allows them to write ar
nvd
CVE-2026-11816P3HIGHCVSS 8.1≥ unspecified, < 3.14.02026-06-11
CVE-2026-11816 [HIGH] CWE-22 CVE-2026-11816: Keras versions prior to 3.14.0 are vulnerable to a path traversal issue in the archive extraction ut 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`. The functions `filter_safe_tarinfos()` and `filter_safe_zipinfos()` validate archive member paths against the process current working directory (CWD) instead of the actual extraction destination. When t
nvd
CVE-2026-12484P3HIGHCVSS 7.8≥ unspecified, ≤ latest2026-07-19
CVE-2026-12484 [HIGH] CWE-502 CVE-2026-12484: A vulnerability in keras-team/keras version 3.15.0 allows unsafe deserialization of attacker-control 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. This method invokes `torch.load(..., weights_only=False)` without requiring an explicit unsafe opt-in, such as a `safe_mode=False` parameter. When called ou
nvd
CVE-2026-1462P3HIGHCVSS 7.8≥ unspecified, < 3.13.22026-04-13
CVE-2026-1462 [HIGH] CWE-502 CVE-2026-1462: A vulnerability in the `TFSMLayer` class of the `keras` package, version 3.13.0, allows attacker-con 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`. This bypasses the security guarantees of `safe_mode` and enables arbitrary attacker-controlled code execution during model inference under t
nvd
CVE-2026-0897P3HIGHCVSS 7.5≥ unspecified, < 3.12.3, 3.15.02026-01-15
CVE-2026-0897 [HIGH] CWE-770 CVE-2026-0897: Allocation of Resources Without Limits or Throttling in the HDF5 weight loading component in Google 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 exhaustion and a crash of the Python interpreter via a crafted .keras archive containing a valid model.weights.h5 file whose dataset decl
nvd
CVE-2026-9335P3MEDIUMCVSS 6.5≥ unspecified, < 3.12.3, 3.15.02026-08-02
CVE-2026-9335 [MEDIUM] CWE-22 CVE-2026-9335: A vulnerability in keras-team/keras versions <= 3.14.0 allows arbitrary local HDF5 file content disc A vulnerability in keras-team/keras versions <= 3.14.0 allows arbitrary local HDF5 file content disclosure due to improper handling of HDF5 ExternalLinks. The `KerasFileEditor` and `keras.saving.load_weights` functions bypass the `safe_get_h5_group` and `safe_get_h5_dataset` helpers, which are designed to reject ExternalLinks and SoftLinks. This result
nvd
CVE-2026-12479P4MEDIUMCVSS 6.1≥ unspecified, ≤ latest2026-06-22
CVE-2026-12479 [MEDIUM] CWE-22 CVE-2026-12479: A path traversal vulnerability exists in keras-team/keras version 3.14.0, specifically in the `DiskI 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. This vulnerability arises from the improper handling of user-provided layer names, which are used to construct directory paths without sanitizing for parent directory components (
nvd
CVE-2026-12480P4MEDIUMCVSS 5.5≥ unspecified, < 3.12.2, 3.14.12026-07-01
CVE-2026-12480 [MEDIUM] CWE-73 CVE-2026-12480: Keras versions up to and including 3.13.2 are vulnerable to an arbitrary HDF5 file read due to an in 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. The vulnerability resides in the `H5IOStore._verify_dataset()` and `file_editor.py` methods, which fail to check the `dataset.is_virtual` property of HDF5 datasets. This allows an attacker to craft a malicious `.keras` m
nvd
Keras-Team Keras vulnerabilities | cvebase