CVE-2025-8747Published Aug 11, 2025 · Aug 11Updated Oct 28
Keras safe_mode bypass allows arbitrary code execution when loading a malicious model.
Google Keras
High8.6Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| keras PyPI |
|
|
Original 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.
From the CVE record · Google