Keras-team Keras vulnerabilities (CVE)

CVE records published for Keras-team Keras, newest first. Follow to get an email when a new one appears.

2 results
7.3High
CVE-2025-9905

Arbitary Code execution in Keras load_model()

Keras-team Keras

The Keras Model.load_model method can be exploited to achieve arbitrary code execution, even with safe_mode=True. One can create a specially crafted .h5/.hdf5 model archive that, when loaded via Model.load_model, will trigger arbitrary code to be executed. …

8.6High
CVE-2025-9906

Arbitrary Code execution in Keras Safe Mode

Keras-team Keras

The Keras Model.load_model method can be exploited to achieve arbitrary code execution, even with safe_mode=True. One can create a specially crafted .keras model archive that, when loaded via Model.load_model, will trigger arbitrary code to be executed. This…