CVE-2025-8747
High
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.
SeverityHigh
CVSS7.8
Exploit probability—
ProductKeras
PublishedAug 11, 2025
First seenAug 11, 2025
Weakness typeCWE-502Deserialization of untrusted data
How to fix
Update
- keras3.11.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| keras keras | 3.0.0 ≤ v ≤ 3.10.0 | — |
| kerasPyPI | 3.0.0 ≤ v < 3.11.0, No range specified | 3.11.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.