CVE-2025-8747

Severity CVSS v4.0:
HIGH
Type:
CWE-502 Deserialization of Untrusted Dat
Publication date:
11/08/2025
Last modified:
14/08/2025

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:keras:keras:*:*:*:*:*:*:*:* 3.0.0 (including) 3.10.0 (including)