Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 67%

CVE-2026-1462: CWE-502 Deserialization of Untrusted Data in keras-team keras-team/keras

0
High
VulnerabilityCVE-2026-1462cvecve-2026-1462cwe-502
Published: 04/13/2026 (04/13/2026, 14:55:28 UTC)
Source: CVE Database V5
Vendor/Project: keras-team
Product: keras-team/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.

CVSS v3.0

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected software

keras
pkg:pypi/keras
Affected versions
=3.13.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/18/2026, 14:37:46 UTC

Technical Analysis

The vulnerability in keras 3.13.0's TFSMLayer class permits deserialization of attacker-controlled TensorFlow SavedModels despite safe_mode=True, which is intended to prevent unsafe code execution. This occurs because the deserialization process unconditionally loads external SavedModels and does not validate file paths or configurations in from_config(), enabling arbitrary code execution during model inference. The CVSS 3.0 score is 8.8 (high severity) with network attack vector, low attack complexity, no privileges required, user interaction needed, and high impact on confidentiality, integrity, and availability. Vendor advisories from Red Hat acknowledge the issue but do not currently provide a patch or remediation guidance.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary code on the victim's system with the privileges of the user running the keras model inference. This compromises confidentiality, integrity, and availability of the affected system. The vulnerability bypasses the intended safe_mode security mechanism, increasing risk during model deserialization.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should avoid loading untrusted .keras models or TensorFlow SavedModels. Monitor vendor advisories, especially from keras-team and Red Hat, for updates on patches or mitigations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
@huntr_ai
Date Reserved
2026-01-27T04:14:51.848Z
Cvss Version
3.0
State
PUBLISHED
Remediation Level
null
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-1462","vendor":"Red Hat"},{"url":"https://access.redhat.com/errata/RHSA-2026:24977","vendor":"Red Hat"}]

Threat ID: 69dd057082d89c981f016d7f

Added to database: 04/13/2026, 15:02:08 UTC

Last enriched: 07/18/2026, 14:37:46 UTC

Last updated: 07/31/2026, 19:22:57 UTC

Views: 154

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses