CVE-2026-1462A 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 `s…
Updated under an hour ago ()
Does this affect you?
It affects keras and 1 other product. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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 the victim's privileges. The issue arises due to the unconditional loading of external SavedModels, serialization of attacker-controlled file paths, and the lack of validation in the `from_config()` method.
- CVSS
- 7.8 HIGH (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weakness (CWE)
- CWE-502
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Not given
- NVD analysis
- Modified
- Record last updated
- Jul 15, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
keras keras keras:keras | 3.13.0 | NVD |
redhat openshift_ai redhat:openshift_ai | from 2.25 before 2.25.7 | NVD |
References
- https://github.com/keras-team/keras/commit/b6773d3decaef1b05d8e794458e148cb362f163fpatch
- https://huntr.com/bounties/7e78d6f1-6977-4300-b595-e81bdbda331cexploit, third-party-advisory
- https://access.redhat.com/errata/RHSA-2026:24977third-party-advisory
- https://access.redhat.com/errata/RHSA-2026:37275
- https://access.redhat.com/security/cve/CVE-2026-1462third-party-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2457856issue-tracking, third-party-advisory
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-1462.jsonthird-party-advisory
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.