
CVE catalog
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 `sa
- Severity
- High · CVSS 7.8
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.40% · Oct 25, 2026
A flaw was found in the `keras` package. This vulnerability allows an attacker to execute unauthorized code on a victim's system. It occurs when a victim loads a specially crafted `.keras` model, even if the `safe_mode` security feature is active. The issue arises because the `keras` package can unconditionally load external TensorFlow SavedModels without sufficient validation, thereby bypassing the intended security protections and leading to arbitrary code execution. keras: Keras: Arbitrary Code Execution Vulnerability Bypassing Safe Mode The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Cpe | keras | Not reported | Not reported | unknown |
| Cpe | openshift_ai | Not reported | 2.25.7 | fixed |
| Debian | keras | 11 | 2.3.1+dfsg-3 | vulnerable |
| Debian | keras | 11 | 2.3.1+dfsg2-1 | vulnerable |
| Ubuntu | keras | 18.04 | 1.0.7-2 | vulnerable |
| Ubuntu | keras | 18.04 | 2.1.1-1 | vulnerable |
| Ubuntu | keras | 20.04 | 2.2.4-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Cpe | openshift_ai | cpe | Not reported | 2.25.7 | Not reported | Not reported | Not reported |
OpenFactory catalog packages
No matching packages in this catalog.
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-1462]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-1462]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-1462]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-1462.json]
[FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]