CVE Database
/

CVE-2025-1550

Back to search

CVE-2025-1550

Published: Mar 11, 2025

Modified: Jul 24, 2025

PUBLISHED

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.

VendorProductVersions

Google

Keras

affected
3.0.0 - < 3.8.0

Weaknesses (CWE)

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now