Skip to content
CVE PROGRAM SOURCE RECORD8.6 High

CVE-2025-8747

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Google Keras

Default version status: unaffected

  • 3.0.0 to ≤ 3.10.0affected

References