CVE 8.6 HIGH

Keras safe_mode bypass allows arbitrary code execution when loading a malicious model._CVE-2025-8747

8.6 / 10
HIGH
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/AU:Y/R:A

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.

Basic Information

ID CVE-2025-8747
Source Google
Published Aug 11, 2025 at 07:21

Affected Product

Vendor Google
Product Keras
Version 3.0.0
Affected Versions Google Keras 3.0.0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.