CVE-2025-1550 - CVE House
Back to Database
Status published High CVE-2025-1550

Arbitrary Code Execution via Crafted Keras Config for Model Loading

Vulnerability Description

The Keras Model.load_model function permits arbitrary code execution, even with safe_mode=True, through a manually constructed, malicious .keras archive. By altering the config.json file within the archive, an attacker can specify arbitrary Python modules and functions, along with their arguments, to be loaded and executed during model loading.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-1550

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • Gabriele Digregorio

Affected Vendor

Affected Software

Keras
Vulnerable Versions:
3.0.0

Timeline

Official Publish: March 11th, 2025
Last Modified: July 24th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)