← Back to CVEs
CVE-2025-1550
CRITICAL9.8
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.
CVE Details
CVSS v3.1 Score9.8
SeverityCRITICAL
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published3/11/2025
Last Modified7/31/2025
Sourcenvd
Honeypot Sightings0
Affected Products
keras:keras
Weaknesses (CWE)
CWE-94
References
https://github.com/keras-team/keras/pull/20751(cve-coordination@google.com)
https://towerofhanoi.it/writeups/cve-2025-1550/(cve-coordination@google.com)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.