PoC Monitor
← All CVEs
CVE-2025-8747published 11 Aug 2025 07:21 UTCData: JSON · API

Google Keras

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

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.6high · scored by CNA · CWE-502
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

Google Keras
  • >= 3.0.0, <= 3.10.0
keras (PyPI)
  • >= 3.0.0, < 3.11.0

Fixed in 3.11.0

from GitHub Security Advisory GHSA-c9rc-mg46-23w3

Mitigation

Upgrade to a version of Keras with the fix implemented (version 3.11.0 or newer).

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published11 Aug 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.