CVE-2025-8747

Public Exploit
Keras safe_mode bypass allows arbitrary code execution when loading a malicious model.

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.

Remediation

Solution:

  • Upgrade to a version of Keras with the fix implemented (version 3.11.0 or newer).

Category

8.6
CVSS
Severity: High
CVSS 4.0 •
CVSS 3.1 •
EPSS 0.02%
Third-Party Advisory jfrog.com
Affected: Google Keras
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2025-8747?
CVE-2025-8747 has been scored as a high severity vulnerability.
How to fix CVE-2025-8747?
To fix CVE-2025-8747: Upgrade to a version of Keras with the fix implemented (version 3.11.0 or newer).
Is CVE-2025-8747 being actively exploited in the wild?
It is possible that CVE-2025-8747 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2025-8747?
CVE-2025-8747 affects Google Keras.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.