CVE-2026-1462HIGH 7.8EPSS p33.3%

CVE-2026-1462CVE-2026-1462

keras / keras

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.

Scoring

CVSS 3.07.8 (HIGH)
VectorCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS0.40% probability of exploitation · percentile 33.3% · 2026-08-02T12:03:13Z
Published2026-04-13
Last modified2026-07-15

Underlying weaknesses· 1

CWE-502

References

  1. https://github.com/keras-team/keras/commit/b6773d3decaef1b05d8e794458e148cb362f163f
  2. https://huntr.com/bounties/7e78d6f1-6977-4300-b595-e81bdbda331c

1

TypeTargetConfidenceTier
WeaknessDeserialization of Untrusted Datacwe-5020%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2025-1550
CVE
CVE-2025-49655
CVE
CVE-2026-38950
CVE
CVE-2026-31214
CVE
CVE-2026-31222
CVE
CVE-2026-31229
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.