Vulnerability Details CVE-2025-1550
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.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.001
EPSS Ranking 32.9%
CVSS Severity
CVSS v3 Score 9.8
Products affected by CVE-2025-1550
-
cpe:2.3:a:keras:keras:3.0.0
-
cpe:2.3:a:keras:keras:3.0.1
-
cpe:2.3:a:keras:keras:3.0.2
-
cpe:2.3:a:keras:keras:3.0.3
-
cpe:2.3:a:keras:keras:3.0.4
-
cpe:2.3:a:keras:keras:3.0.5
-
cpe:2.3:a:keras:keras:3.1.0
-
cpe:2.3:a:keras:keras:3.1.1
-
cpe:2.3:a:keras:keras:3.2.0
-
cpe:2.3:a:keras:keras:3.2.1
-
cpe:2.3:a:keras:keras:3.3.0
-
cpe:2.3:a:keras:keras:3.3.1
-
cpe:2.3:a:keras:keras:3.3.2
-
cpe:2.3:a:keras:keras:3.3.3
-
cpe:2.3:a:keras:keras:3.4.0
-
cpe:2.3:a:keras:keras:3.4.1
-
cpe:2.3:a:keras:keras:3.5.0
-
cpe:2.3:a:keras:keras:3.6.0
-
cpe:2.3:a:keras:keras:3.7.0