Skip to content

CVE-2026-11816 Path Traversal in keras-team/keras

HighCVSS 8.1 EPSS 0.56%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
DockerDebianRed Hat

Description

Keras versions prior to 3.14.0 are vulnerable to a path traversal issue in the archive extraction utilities located in keras/src/utils/file_utils.py. The functions filter_safe_tarinfos() and filter_safe_zipinfos() validate archive member paths against the process current working directory (CWD) instead of the actual extraction destination. When the process runs with CWD set to /, which is common in Docker containers, CI/CD runners, and Jupyter environments, the validation boundary becomes the filesystem root, allowing traversal paths to bypass the security check. Additionally, the zip filter contains a bug that causes an AttributeError when a blocked entry is encountered, leading to incomplete extraction. Furthermore, Python 3.11 installations lack the filter="data" safety net, leaving them entirely reliant on the flawed CWD-based filter. Exploitation of this vulnerability can result in arbitrary file writes outside the intended extraction directory, enabling attackers to overwrite configuration files, inject malicious code, or corrupt machine learning datasets and pipelines.

Upgrade path

12 packages: 3 fixed, 1 partially fixed, 8 with no fix yet.

PackageAffectedFixed inStatus
azure linux keras(Azure Linux 3.0) All versions No fix listed No fix yet
debian/keras(Debian 11) = 2.3.1+dfsg-3; = 2.3.1+dfsg2-1; All versions No fix listed No fix yet
redhat/rhoai/odh-kserve-storage-initializer-rhel9:1783024305(Red Hat openshift_ai 2.25 el9) All versions No fix listed No fix yet
redhat/rhoai/odh-modelmesh-runtime-adapter-rhel9:1783342900(Red Hat openshift_ai 2.25 el9) All versions No fix listed No fix yet
redhat/rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9:1789651398(Red Hat openshift_ai 3.3 el9) All versions No fix listed No fix yet
redhat/rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9:1789651387(Red Hat openshift_ai 3.3 el9) All versions No fix listed No fix yet
redhat/rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9:1790077488(Red Hat openshift_ai 3.3 el9) All versions No fix listed No fix yet
redhat/rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9:1789983680(Red Hat openshift_ai 3.3 el9) All versions No fix listed No fix yet
redhat openshift ai < 1783024305; < 1783342900; All versions 1783024305, 1783342900 Partially fixed
Keras < 3.14.0 3.14.0 Fixed
keras-team/keras < 3.14.0 3.14.0 Fixed
pypi keras(PyPI) < 3.14.0; = 0.2.0; = 0.3.0; = 0.3.1 +117 more 3.14.0 Fixed

Affected products

ProductAffected versionsFixed in
pypi keras(PyPI) < 3.14.0 3.14.0
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.12.3 No fix listed
pypi keras(PyPI) = 3.12.4 No fix listed
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.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
keras-team/keras < 3.14.0 3.14.0
redhat openshift ai < 1783024305 1783024305
redhat openshift ai < 1783342900 1783342900
redhat openshift ai All versions No fix listed
redhat/rhoai/odh-kserve-storage-initializer-rhel9:1783024305(Red Hat:openshift_ai:2.25::el9) All versions No fix listed
redhat/rhoai/odh-modelmesh-runtime-adapter-rhel9:1783342900(Red Hat:openshift_ai:2.25::el9) All versions No fix listed
redhat/rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9:1789651398(Red Hat:openshift_ai:3.3::el9) All versions No fix listed
redhat/rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9:1789651387(Red Hat:openshift_ai:3.3::el9) All versions No fix listed
redhat/rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9:1790077488(Red Hat:openshift_ai:3.3::el9) All versions No fix listed
redhat/rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9:1789983680(Red Hat:openshift_ai:3.3::el9) 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
Keras < 3.14.0 3.14.0
azure linux keras(Azure Linux:3.0) All versions No fix listed

References