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.
References
| Link | Resource |
|---|---|
| https://github.com/keras-team/keras/pull/21429 | Issue Tracking |
| https://jfrog.com/blog/keras-safe_mode-bypass-vulnerability/ | Third Party Advisory |
| https://jfrog.com/blog/keras-safe_mode-bypass-vulnerability/ | Third Party Advisory |
Configurations
History
No history.
Information
Published : 2025-08-11 08:15
Updated : 2025-08-14 16:24
NVD link : CVE-2025-8747
Mitre link : CVE-2025-8747
CVE.ORG link : CVE-2025-8747
JSON object : View
Products Affected
keras
- keras
CWE
CWE-502
Deserialization of Untrusted Data
