CVE-2025-8747

HIGH

Keras 3.0.0-3.10.0 - Remote Code Execution via Model.load_model Safe Mode Bypass

Title source: llm
STIX 2.1

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.

References (2)

Core 2
Core References
Third Party Advisory third-party-advisory
https://jfrog.com/blog/keras-safe_mode-bypass-vulnerability/

Scores

CVSS v3 7.8
EPSS 0.0001
EPSS Percentile 1.3%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-502
Status published
Products (2)
keras/keras 3.0.0 - 3.10.0
pypi/keras 3.0.0 - 3.11.0PyPI
Published Aug 11, 2025
Tracked Since Feb 18, 2026