CVE-2025-8747: Keras

High severity, CVSS 7.8. EPSS: 0.1% chance of exploitation in the next 30 days.

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

  • Keras Keras: from 3.0.0, up to and including 3.10.0

Published 2025-08-11. Last modified 2026-06-17.