CVE-2025-1550

moderate-risk
Published 2025-03-11

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.

Do I need to act?

~
8.0% chance of exploitation in next 30 days
EPSS score — moderate exploit probability
-
Not on CISA KEV list
No confirmed active exploitation reported to CISA
!
1 public exploit available
+
Fix available
Upgrade to: fbf0af76130beecae2273a513242255826b42c04
9
CVSS 9.8/10 Critical
NETWORK / LOW complexity

Affected Products (1)

Keras

Affected Vendors

47
/ 100
moderate-risk
Severity 32/34 · Critical
Exploitability 10/34 · Low
Exposure 5/34 · Minimal