Skip to content
OpenAdvisories

Package · Debian

keras

19 known vulnerabilities.

10 results · Clear filters · Feed

  • High 7.8

    Unsafe Deserialization in keras.layers.TorchModuleWrapper.from_config

    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)` with…

  • High 8.8

    Deserialization of Untrusted Data in keras-team/keras

    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 whe…

  • High 8.1

    Path Traversal in keras-team/keras

    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 t…

  • High 8.8

    Safe Mode Bypass in keras-team/keras

    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 `sa…

  • High 7.1

    Arbitrary File Read in Keras via HDF5 External Datasets

    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 a crafted .keras model file utilizing H…

  • High 7.1
    CVE-2026-0897 Public exploit

    Denial of Service in Keras via Excessive Memory Allocation in HDF5 Metadata

    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 int…

  • High 8.0

    Path Traversal Vulnerability in keras-team/keras via Tar Archive Extraction in keras.utils.get_file()

    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 filte…

  • High 8.9

    Keras keras.utils.get_file Utility Path Traversal Vulnerability

    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 ma…

  • High 7.3

    Arbitary Code execution in Keras load_model()

    The 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 model archive that, when loaded via Model.load_model, will trigger arbitrary code to be executed. Th…

  • High 8.6

    Arbitrary Code execution in Keras Safe Mode

    The 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 model archive that, when loaded via Model.load_model, will trigger arbitrary code to be executed. This …