Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-1462
Published:April 13, 2026
Updated:April 23, 2026
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 Packages
keras (CONDA):
Affected version(s) >=2.0.8 <3.13.2
Fix Suggestion:
Update to version 3.13.2
https://github.com/keras-team/keras.git (GITHUB):
Affected version(s) >=v2.6.0-rc0 <v3.13.2
Fix Suggestion:
Update to version v3.13.2
keras (PYTHON):
Affected version(s) >=0.1.0 <3.13.2
Fix Suggestion:
Update to version 3.13.2
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Deserialization of Untrusted Data
EPSS
Base Score:
0.07