Back to CVE records
High 7.8Published Apr 13, 2026

CVE-2026-1462A 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 `s…

Updated under an hour ago ()

Does this affect you?

It affects keras and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
7.8 HIGH (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-502
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Not given
NVD analysis
Modified
Record last updated
Jul 15, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
keras keras
keras:keras
3.13.0
NVD
redhat openshift_ai
redhat:openshift_ai
from 2.25 before 2.25.7
NVD

References

  • patch
  • exploit, third-party-advisory
  • third-party-advisory
  • third-party-advisory
  • issue-tracking, third-party-advisory
  • third-party-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.