Safe Mode Bypass Vulnerability in Keras by Keras Team
CVE-2025-8747
8.6HIGH
What is CVE-2025-8747?
A safe mode bypass vulnerability exists in the 'Model.load_model' method of Keras versions 3.0.0 to 3.10.0. This flaw enables attackers to execute arbitrary code by persuading users to load a maliciously crafted '.keras' model archive file. Proper precautions should be taken when using the model loading functionality, especially in scenarios involving untrusted sources.
Affected Version(s)
Keras 3.0.0 <= 3.10.0