CVEvulnerability

CVE-2026-1462

7.8 HIGH Published 2026-04-13 Modified 2026-07-15 Official page ↗
Status
Modified
Published
2026-04-13
Last modified
2026-07-15
Assigner
[email protected]
CVSS 3.1 (0b0ca135-0b70-47e7-9f44-1890c2a1c46c)
7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 3.0 ([email protected])
8.8 HIGH — CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses
CWE-502

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 configurations

• keras keras 3.13.0 • redhat openshift ai (>= 2.25 < 2.25.7)

Related

Weakness · CWE (1)

  • CWE-502 Deserialization of Untrusted Data weakness

References