CVE-2025-8747 - CVE House
Back to Database
Status published High CVE-2025-8747

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

Vulnerability 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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-8747

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • JFrog Security Research Team

Affected Vendor

Affected Software

Keras
Vulnerable Versions:
3.0.0

Timeline

Official Publish: August 11th, 2025
Last Modified: February 26th, 2026
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)