Vulnerability

CVE-2026-1462

highCVSS 3.1 7.8Published 13 Apr 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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 products

From the NVD's configuration data (CPE), vendor first.

  • Keras keras
  • Red Hat openshift ai

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning