Skip to content

CVE-2026-12480 Arbitrary HDF5 File Read via Virtual Dataset Bypass in keras-team/keras

MediumCVSS 5.5 EPSS 0.19%
Published
Updated
Exploit status
No public exploit known

Description

Keras versions up to and including 3.13.2 are vulnerable to an arbitrary HDF5 file read due to an incomplete fix for CVE-2026-1669. The vulnerability resides in the H5IOStore._verify_dataset() and file_editor.py methods, which fail to check the dataset.is_virtual property of HDF5 datasets. This allows an attacker to craft a malicious .keras model archive or .h5 weights file containing a Virtual Dataset (VDS) that references external HDF5 files on the victim's filesystem. When the victim loads the model using keras.models.load_model() or keras.saving.load_model(), the external file is transparently read, leading to potential information disclosure. Fixed in versions 3.12.2 and 3.14.1.

Affected products

ProductAffected versionsFixed in
pypi keras(PyPI) < 3.12.3 3.12.3
pypi keras(PyPI) = 0.2.0 No fix listed
pypi keras(PyPI) = 0.3.0 No fix listed
pypi keras(PyPI) = 0.3.1 No fix listed
pypi keras(PyPI) = 0.3.2 No fix listed
pypi keras(PyPI) = 0.3.3 No fix listed
pypi keras(PyPI) = 1.0.0 No fix listed
pypi keras(PyPI) = 1.0.1 No fix listed
pypi keras(PyPI) = 1.0.2 No fix listed
pypi keras(PyPI) = 1.0.3 No fix listed
pypi keras(PyPI) = 1.0.4 No fix listed
pypi keras(PyPI) = 1.0.5 No fix listed
pypi keras(PyPI) = 1.0.6 No fix listed
pypi keras(PyPI) = 1.0.7 No fix listed
pypi keras(PyPI) = 1.0.8 No fix listed
pypi keras(PyPI) = 1.1.0 No fix listed
pypi keras(PyPI) = 1.1.1 No fix listed
pypi keras(PyPI) = 1.1.2 No fix listed
pypi keras(PyPI) = 1.2.0 No fix listed
pypi keras(PyPI) = 1.2.1 No fix listed
pypi keras(PyPI) = 1.2.2 No fix listed
pypi keras(PyPI) = 2.0.0 No fix listed
pypi keras(PyPI) = 2.0.1 No fix listed
pypi keras(PyPI) = 2.0.2 No fix listed
pypi keras(PyPI) = 2.0.3 No fix listed
Show 111 more
ProductAffected versionsFixed in
pypi keras(PyPI) = 2.0.4 No fix listed
pypi keras(PyPI) = 2.0.5 No fix listed
pypi keras(PyPI) = 2.0.6 No fix listed
pypi keras(PyPI) = 2.0.7 No fix listed
pypi keras(PyPI) = 2.0.8 No fix listed
pypi keras(PyPI) = 2.0.9 No fix listed
pypi keras(PyPI) = 2.1.0 No fix listed
pypi keras(PyPI) = 2.1.1 No fix listed
pypi keras(PyPI) = 2.1.2 No fix listed
pypi keras(PyPI) = 2.1.3 No fix listed
pypi keras(PyPI) = 2.1.4 No fix listed
pypi keras(PyPI) = 2.1.5 No fix listed
pypi keras(PyPI) = 2.1.6 No fix listed
pypi keras(PyPI) = 2.10.0 No fix listed
pypi keras(PyPI) = 2.10.0rc0 No fix listed
pypi keras(PyPI) = 2.10.0rc1 No fix listed
pypi keras(PyPI) = 2.11.0 No fix listed
pypi keras(PyPI) = 2.11.0rc0 No fix listed
pypi keras(PyPI) = 2.11.0rc1 No fix listed
pypi keras(PyPI) = 2.11.0rc2 No fix listed
pypi keras(PyPI) = 2.11.0rc3 No fix listed
pypi keras(PyPI) = 2.12.0 No fix listed
pypi keras(PyPI) = 2.12.0rc0 No fix listed
pypi keras(PyPI) = 2.12.0rc1 No fix listed
pypi keras(PyPI) = 2.13.1 No fix listed
pypi keras(PyPI) = 2.13.1rc0 No fix listed
pypi keras(PyPI) = 2.13.1rc1 No fix listed
pypi keras(PyPI) = 2.14.0 No fix listed
pypi keras(PyPI) = 2.14.0rc0 No fix listed
pypi keras(PyPI) = 2.15.0 No fix listed
pypi keras(PyPI) = 2.15.0rc0 No fix listed
pypi keras(PyPI) = 2.15.0rc1 No fix listed
pypi keras(PyPI) = 2.2.0 No fix listed
pypi keras(PyPI) = 2.2.1 No fix listed
pypi keras(PyPI) = 2.2.2 No fix listed
pypi keras(PyPI) = 2.2.3 No fix listed
pypi keras(PyPI) = 2.2.4 No fix listed
pypi keras(PyPI) = 2.2.5 No fix listed
pypi keras(PyPI) = 2.3.0 No fix listed
pypi keras(PyPI) = 2.3.1 No fix listed
pypi keras(PyPI) = 2.4.0 No fix listed
pypi keras(PyPI) = 2.4.1 No fix listed
pypi keras(PyPI) = 2.4.2 No fix listed
pypi keras(PyPI) = 2.4.3 No fix listed
pypi keras(PyPI) = 2.5.0rc0 No fix listed
pypi keras(PyPI) = 2.6.0 No fix listed
pypi keras(PyPI) = 2.6.0rc0 No fix listed
pypi keras(PyPI) = 2.6.0rc1 No fix listed
pypi keras(PyPI) = 2.6.0rc2 No fix listed
pypi keras(PyPI) = 2.6.0rc3 No fix listed
pypi keras(PyPI) = 2.7.0 No fix listed
pypi keras(PyPI) = 2.7.0rc0 No fix listed
pypi keras(PyPI) = 2.7.0rc2 No fix listed
pypi keras(PyPI) = 2.8.0 No fix listed
pypi keras(PyPI) = 2.8.0rc0 No fix listed
pypi keras(PyPI) = 2.8.0rc1 No fix listed
pypi keras(PyPI) = 2.9.0 No fix listed
pypi keras(PyPI) = 2.9.0rc0 No fix listed
pypi keras(PyPI) = 2.9.0rc1 No fix listed
pypi keras(PyPI) = 2.9.0rc2 No fix listed
pypi keras(PyPI) = 3.0.0 No fix listed
pypi keras(PyPI) = 3.0.1 No fix listed
pypi keras(PyPI) = 3.0.2 No fix listed
pypi keras(PyPI) = 3.0.3 No fix listed
pypi keras(PyPI) = 3.0.4 No fix listed
pypi keras(PyPI) = 3.0.5 No fix listed
pypi keras(PyPI) = 3.1.0 No fix listed
pypi keras(PyPI) = 3.1.1 No fix listed
pypi keras(PyPI) = 3.10.0 No fix listed
pypi keras(PyPI) = 3.11.0 No fix listed
pypi keras(PyPI) = 3.11.1 No fix listed
pypi keras(PyPI) = 3.11.2 No fix listed
pypi keras(PyPI) = 3.11.3 No fix listed
pypi keras(PyPI) = 3.12.0 No fix listed
pypi keras(PyPI) = 3.12.1 No fix listed
pypi keras(PyPI) = 3.12.2 No fix listed
pypi keras(PyPI) = 3.2.0 No fix listed
pypi keras(PyPI) = 3.2.1 No fix listed
pypi keras(PyPI) = 3.3.0 No fix listed
pypi keras(PyPI) = 3.3.1 No fix listed
pypi keras(PyPI) = 3.3.2 No fix listed
pypi keras(PyPI) = 3.3.3 No fix listed
pypi keras(PyPI) = 3.4.0 No fix listed
pypi keras(PyPI) = 3.4.1 No fix listed
pypi keras(PyPI) = 3.5.0 No fix listed
pypi keras(PyPI) = 3.6.0 No fix listed
pypi keras(PyPI) = 3.7.0 No fix listed
pypi keras(PyPI) = 3.8.0 No fix listed
pypi keras(PyPI) = 3.9.0 No fix listed
pypi keras(PyPI) = 3.9.1 No fix listed
pypi keras(PyPI) = 3.9.2 No fix listed
pypi keras(PyPI) >= 3.13.0, < 3.15.0 3.15.0
pypi keras(PyPI) = 3.13.0 No fix listed
pypi keras(PyPI) = 3.13.1 No fix listed
pypi keras(PyPI) = 3.13.2 No fix listed
pypi keras(PyPI) = 3.14.0 No fix listed
pypi keras(PyPI) = 3.14.1 No fix listed
keras-team/keras < 3.12.2, 3.14.1 3.12.2, 3.14.1
redhat/rhoai/odh-kserve-agent-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/rhoai/odh-kserve-controller-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/rhoai/odh-kserve-router-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/rhoai/odh-kserve-storage-initializer-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/rhoai/odh-modelmesh-runtime-adapter-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9(Red Hat:openshift_ai) All versions No fix listed
debian/keras(Debian:11) All versions No fix listed
debian/keras(Debian:11) = 2.3.1+dfsg-3 No fix listed
debian/keras(Debian:11) = 2.3.1+dfsg2-1 No fix listed
azure linux keras(Azure Linux:3.0) < 3.3.3-8 3.3.3-8

References