ADVISORIES

Vulnerability

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.

6 advisories report this vulnerability, across 4 ecosystems.

Advisories

  • AZL-66171

    CVE-2025-8747 affecting package keras for versions less than 3.3.3-3

    CVE-2025-8747 Azure Linux Updated 23 November 2026
  • CGA-mcj6-frx4-rv2h
    CVE-2025-8747 Chainguard Updated 5 November 2026
  • CGA-vx72-3qc9-h3q5
    CVE-2025-8747 Chainguard Updated 5 November 2026
  • GHSA-c9rc-mg46-23w3

    Keras vulnerable to CVE-2025-1550 bypass via reuse of internal functionality

    High CVE-2025-8747 PyPI Updated 10 September 2026
  • PYSEC-2025-75

    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`…

    CVE-2025-8747 Updated 10 June 2026
  • UBUNTU-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`…

    CVE-2025-8747 Ubuntu Updated 24 October 2025

References