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 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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:keras:keras:3.13.0:*:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:a:redhat:openshift_ai:*:*:*:*:*:*:*:*

History

10 Jul 2026, 12:16

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:37275 -

07 Jul 2026, 18:05

Type Values Removed Values Added
CPE cpe:2.3:a:keras:keras:3.13.0:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openshift_ai:*:*:*:*:*:*:*:*
References () https://github.com/keras-team/keras/commit/b6773d3decaef1b05d8e794458e148cb362f163f - () https://github.com/keras-team/keras/commit/b6773d3decaef1b05d8e794458e148cb362f163f - Patch
References () https://huntr.com/bounties/7e78d6f1-6977-4300-b595-e81bdbda331c - () https://huntr.com/bounties/7e78d6f1-6977-4300-b595-e81bdbda331c - Exploit, Third Party Advisory
References () https://access.redhat.com/errata/RHSA-2026:24977 - () https://access.redhat.com/errata/RHSA-2026:24977 - Third Party Advisory
References () https://access.redhat.com/security/cve/CVE-2026-1462 - () https://access.redhat.com/security/cve/CVE-2026-1462 - Third Party Advisory
References () https://bugzilla.redhat.com/show_bug.cgi?id=2457856 - () https://bugzilla.redhat.com/show_bug.cgi?id=2457856 - Issue Tracking, Third Party Advisory
References () https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-1462.json - () https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-1462.json - Third Party Advisory
First Time Keras
Redhat
Redhat openshift Ai
Keras keras

30 Jun 2026, 03:17

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 8.8
v2 : unknown
v3 : 7.8
References
  • () https://access.redhat.com/errata/RHSA-2026:24977 -
  • () https://access.redhat.com/security/cve/CVE-2026-1462 -
  • () https://bugzilla.redhat.com/show_bug.cgi?id=2457856 -
  • () https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-1462.json -

13 Apr 2026, 15:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-13 15:17

Updated : 2026-07-15 02:18


NVD link : CVE-2026-1462

Mitre link : CVE-2026-1462

CVE.ORG link : CVE-2026-1462


JSON object : View

Products Affected

redhat

  • openshift_ai

keras

  • keras
CWE
CWE-502

Deserialization of Untrusted Data