CVE-2025-8747
Severity CVSS v4.0:
HIGH
Type:
CWE-502
Deserialization of Untrusted Dat
Publication date:
11/08/2025
Last modified:
14/08/2025
Description
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.
Impact
Base Score 4.0
8.60
Severity 4.0
HIGH
Base Score 3.x
7.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:keras:keras:*:*:*:*:*:*:*:* | 3.0.0 (including) | 3.10.0 (including) |
To consult the complete list of CPE names with products and versions, see this page



