A safe mode bypass vulnerability in the Model.load_model method in Keras versions 3.0.0 through 3.10.0 allows an attacker to achieve arbitrary code execution by convincing a user to load a specially crafted .keras model archive.
Model.load_model
.keras
{ "versions": [ { "introduced": "3.0.0" }, { "last_affected": "3.10.0" } ] }
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-8747.json"