CVE-2025-8747
August 11, 2025
A safe mode bypass vulnerability in the "Model.load_model" method in Keras versions 3.0.0 through 3.10.0 allows an attacker to achieve arbitrary code execution by convincing a user to load a specially crafted ".keras" model archive.
Affected Packages
https://github.com/keras-team/keras.git (GITHUB):
Affected version(s) >=v3.0.0 <v3.11.0Fix Suggestion:
Update to version v3.11.0keras (PYTHON):
Affected version(s) >=3.0.0 <3.11.0Fix Suggestion:
Update to version 3.11.0Related ResourcesĀ (8)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.6
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
8.2
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Deserialization of Untrusted Data
EPSS
Base Score:
0.01