Keras vulnerabilities
CVEs that NVD lists for Keras, newest first. NVD names the product cpe:2.3:a:keras:keras; every CVE here lists a version of it as affected. The CISA KEV column marks the ones CISA lists as exploited in the wild.
Source: the National Vulnerability Database CVE API, https://nvd.nist.gov/developers/vulnerabilities, queried by each product’s CPE name, read weekly. CVEs published since November 27, 2023 (the last three years). Checked: November 27, 2026.
Download: CSV, under CC BY 4.0.
Cite as: CIOPages, “Vulnerabilities in AI software,” https://www.ciopages.com/trackers/ai-software-vulnerabilities/product/keras, from the NVD CVE API, checked November 27, 2026. CC BY 4.0.
| CVE | Description | Published | CVSS | CWE | CISA KEV | Checked |
|---|---|---|---|---|---|---|
| CVE-2026-12482 | 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`. Specifically, symlink entries are not subjected to the same `is_path_in_dir` validation… | 2026-07-14 | 6.5 Medium v3.1 | CWE-22 | 2026-11-27 | |
| CVE-2026-12481 | 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… | 2026-07-03 | 9.8 Critical v3.1 | CWE-502 | 2026-11-27 | |
| CVE-2026-11816 | 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… | 2026-06-11 | 8.1 High v3.1 | CWE-22 | 2026-11-27 | |
| CVE-2026-1462 | 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… | 2026-04-13 | 7.8 High v3.1 | CWE-502 | 2026-11-27 | |
| CVE-2026-1669 | 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 HDF5 external dataset… | 2026-02-11 | 7.5 High v3.1 | CWE-73, CWE-200 | 2026-11-27 | |
| CVE-2026-0897 | 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… | 2026-01-15 | 7.5 High v3.1 | CWE-770 | 2026-11-27 | |
| CVE-2025-9906 | 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 is achieved by… | 2025-09-19 | 7.3 High v3.1 | CWE-502 | 2026-11-27 | |
| CVE-2025-9905 | 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. This is achieved by… | 2025-09-19 | 7.3 High v3.1 | CWE-913 | 2026-11-27 | |
| CVE-2025-8747 | 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` model archive. | 2025-08-11 | 7.8 High v3.1 | CWE-502 | 2026-11-27 | |
| CVE-2025-1550 | The Keras Model.load_model function permits arbitrary code execution, even with safe_mode=True, through a manually constructed, malicious .keras archive. By altering the config.json file within the archive, an attacker can specify arbitrary Python modules and functions, along… | 2025-03-11 | 9.8 Critical v3.1 | CWE-94 | 2026-11-27 | |
| CVE-2024-55459 | 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. | 2025-01-08 | 6.5 Medium v3.1 | CWE-494 | 2026-11-27 | |
| CVE-2024-3660 | 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 irrespective of the application. | 2024-04-16 | 9.8 Critical v3.1 | CWE-94 | 2026-11-27 |
More ai frameworks. All AI software.
This product uses the NVD API but is not endorsed or certified by the NVD. CVE links open the National Vulnerability Database. Descriptions are the CNA’s text as NVD publishes it, shortened here to 280 characters; the CSV has it in full. CVSS is the base score NVD lists for one CVE, version 3.1 where given, else 4.0, else 3.0: it is not a rating of a product or its vendor. Rows are ordered by the date NVD published them. The CISA KEV column comes from the CISA Known Exploited Vulnerabilities catalog, checked November 27, 2026. Change log.