PT-2025-10719

CVE-2025-1550

·

Published

2025-03-11

·

Updated

2025-11-10

Description by

CVSS 3.1
9.8
Critical
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Keras versions 3.0.0 through 3.7.9
Description The Keras Model.load model function allows for arbitrary code execution, even when safe mode is enabled. This occurs through a maliciously crafted .keras archive. An attacker can modify the config.json file within the archive to specify arbitrary Python modules and functions, along with their arguments, which are then loaded and executed during model loading. The vulnerability stems from insufficient validation during model loading, specifically within the handling of the config.json file.
Recommendations Update to Keras version 3.9 or later. Only load models from trusted sources.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-48G7-3X6R-XFHP
GHSA-5478-V2W6-C6Q7
AZL-58360
PYSEC-2025-122
Found an issue in the description? Have something to add? Feel free to write us 👾