CVE-2025-8747
Last modified
CVE-2025-8747 is a high-severity vulnerability rated 8.6/10 on the CVSS scale. 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.. EPSS estimates a 0.11% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:Y/R:A/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Keras | Keras | >= 3.0.0, <= 3.10.0 |
References
- https://github.com/keras-team/keras/pull/21429Issue 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
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-8747?
How severe is CVE-2025-8747?
How do I fix CVE-2025-8747?
Are you affected by CVE-2025-8747?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
