Deserialization in Google Keras

CVE-2025-8747

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.

Vulnerability class: Insecure Deserialization

EPSS: 0.001 (1.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-8747?
CVE-2025-8747 is a high-severity vulnerability in Google Keras, classified under Deserialization of Untrusted Data. CVSS score: 7.8/10. Published 2025-08-11.
How severe is CVE-2025-8747?
High severity. CVSS v3 base score is 7.8 out of 10.
Is CVE-2025-8747 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.