CVE-2026-11816
published 2026-06-11CVE-2026-11816: 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…
PriorityP350high8.1CVSS 3.1
AVNACLPRNUIRSUCHIHAN
EPSS
0.56%
44.6th percentile
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.
Affected
12 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| keras-team | keras-team_keras | >= unspecified < 3.14.0 | 3.14.0 |
| keras | keras | < 3.14.0 | 3.14.0 |
| keras | keras | >= 0 < 3.14.0 | 3.14.0 |
| rhoai | odh-kserve-agent-rhel9 | — | — |
| rhoai | odh-kserve-controller-rhel9 | — | — |
| rhoai | odh-kserve-router-rhel9 | — | — |
| rhoai | odh-kserve-storage-initializer-rhel9 | — | — |
| rhoai | odh-modelmesh-runtime-adapter-rhel9 | — | — |
| rhoai | odh-pipeline-runtime-tensorflow-cuda-py312-rhel9 | — | — |
| rhoai | odh-pipeline-runtime-tensorflow-rocm-py312-rhel9 | — | — |
| rhoai | odh-workbench-jupyter-tensorflow-cuda-py312-rhel9 | — | — |
| rhoai | odh-workbench-jupyter-tensorflow-rocm-py312-rhel9 | — | — |
CVSS provenance
nvdv3.18.1HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
nvdv3.08.1HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
vendor_redhat8.1HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
keras: Keras: Arbitrary file write via path traversal in archive extraction utilities
vendor_redhat·2026-06-11·CVSS 8.1
CVE-2026-11816 [HIGH] CWE-22 keras: Keras: Arbitrary file write via path traversal in archive extraction utilities
keras: Keras: Arbitrary file write via path traversal in archive extraction utilities
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
GHSA
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`.
ghsa_unreviewed·2026-06-11
CVE-2026-11816 [HIGH] CWE-22 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`.
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,
VulDB
keras-team keras up to 3.13.x Archive Extraction file_utils.py filter_safe_tarinfos path traversal (EUVD-2026-36244)
vuldb·2026-06-11·CVSS 8.1
CVE-2026-11816 [HIGH] keras-team keras up to 3.13.x Archive Extraction file_utils.py filter_safe_tarinfos path traversal (EUVD-2026-36244)
A vulnerability, which was classified as critical, was found in keras-team keras up to 3.13.x. Impacted is the function filter_safe_tarinfos of the file keras/src/utils/file_utils.py of the component Archive Extraction Handler. The manipulation results in path traversal.
This vulnerability is identified as CVE-2026-11816. The attack can be executed remotely. There is not any exploit available.
You should upgrade the affected component.
GHSA
Keras archive extraction utilities allow path traversal and arbitrary file writes
ghsa·2026-06-11
CVE-2026-11816 [HIGH] CWE-22 Keras archive extraction utilities allow path traversal and arbitrary file writes
Keras archive extraction utilities allow path traversal and arbitrary file writes
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 extr
No detection rules found.
No public exploits indexed.
https://github.com/keras-team/keras/commit/2465b6657b02c8eed308759b7e800e295ae01888https://huntr.com/bounties/a07e3983-7158-4419-af2b-38f1dea01a4fhttps://access.redhat.com/errata/RHSA-2026:42644https://access.redhat.com/security/cve/CVE-2026-11816https://bugzilla.redhat.com/show_bug.cgi?id=2487912https://huntr.com/bounties/a07e3983-7158-4419-af2b-38f1dea01a4fhttps://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-11816.json
2026-06-11
Published