CVE-2026-1462

Safe Mode Bypass in keras-team/keras

HIGH
7.8
CVSS Score
Published: April 13, 2026 at 02:55 PM UTC
Updated: July 15, 2026 at 02:18 AM UTC
2 products affected across 2 vendorsOpenShift AIKeras

Using keras-team/keras by keras-team?

Get instant alerts when new vulnerabilities affect keras-team/keras - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.4%
SSVC
PoC

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 3.13.23.13.0
Affected range stops below 3.13.2, so it looks safe — our inference, not a vendor statement
2.25 ≤ v < 2.25.7
Vendor states this is fixed in 1780394782 (unaffected)
Vendor states this is fixed in 1782471730 (unaffected)
Vendor states this is fixed in 1782471734 (unaffected)
Vendor states this is fixed in 1782471835 (unaffected)
Vendor states this is fixed in 1782471879 (unaffected)
Affected range stops below 2.25.7, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (7)

ExploitThird Party Advisory
Source: cverecord
https://huntr.com/bounties/7e78d6f1-6977-4300-b595-e81bdbda331c
Third Party Advisory
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/errata/RHSA-2026:24977
Third Party Advisory
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/security/cve/CVE-2026-1462
Issue TrackingThird Party Advisory
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://bugzilla.redhat.com/show_bug.cgi?id=2457856
Third Party Advisory
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-1462.json
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/errata/RHSA-2026:37275

SSVC — Action Prioritization

SSVCPoCNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHredhat-SADP
Attack Vector
LOCAL
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-502

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card