CVE-2025-1550 EXPLOIT
9.8
CRITICAL · CVSS 3.1 · EPSS 2.6% (pctl 85)
Patch early
A public exploit exists.
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.
Scoring
| CVSS | 9.8 (CRITICAL, v3.1) |
|---|---|
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| EPSS | 2.63% — more likely to be exploited than 85% of all CVEs |
| Weakness | CWE-94 |
| On CISA KEV | no |
| Public exploit | yes |
| Published | 2025-03-11 |
| Last modified | 2026-06-17 |
Affected (1)
| Vendor | Product |
|---|---|
| keras | keras |
Public exploits
| Source | Title | Date |
|---|---|---|
| exploit-db | Keras 2.15 - Remote Code Execution (RCE) | 2025-07-16 |
References
→ the Explorer · watch your stack · NVD