PT-2025-38518

CVE-2025-9906

·

Published

2025-09-19

·

Updated

2026-10-19

Description by

CVSS 4.0
8.6
High
MetricsAV:L/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/AU:Y/R:A
Name of the Vulnerable Software and Affected Versions Keras (affected versions not specified)
Description The Model.load model method is susceptible to arbitrary code execution, even when safe mode is enabled. A specially crafted .keras model archive containing a modified config.json file can trigger the execution of arbitrary code. The config.json file invokes keras.config.enable unsafe deserialization() to disable safe mode. Subsequently, a Lambda layer with arbitrary Python code, serialized using pickling, can be included within the same archive to achieve code execution.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploitability
Exploit
Impacts
Vendors
Affected products
Related identifiers
GHSA-36FQ-JGMW-4R9C
AZL-67508
PYSEC-2025-76
Found an issue in the description? Have something to add? Feel free to write us 👾