CVE-2026-11816
published high CVSS 3.0 · 8.1Path Traversal in keras-team/keras
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| keras-team | — | keras-team/kerasunspecified to < 3.14.0 | Affected | Not stated | @huntr_ai |
| Red Hat | — | rhoai/odh-kserve-storage-initializer-rhel9Red Hat OpenShift AI 2.25 · 1783024305 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-modelmesh-runtime-adapter-rhel9Red Hat OpenShift AI 2.25 · 1783342900 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-kserve-agent-rhel9Red Hat OpenShift AI (RHOAI) | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhoai/odh-kserve-controller-rhel9Red Hat OpenShift AI (RHOAI) | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhoai/odh-kserve-router-rhel9Red Hat OpenShift AI (RHOAI) | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9Red Hat OpenShift AI (RHOAI) | Affected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9Red Hat OpenShift AI (RHOAI) | Affected | Not stated | redhat-SADP |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9Red Hat OpenShift AI (RHOAI) | Affected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9Red Hat OpenShift AI (RHOAI) | Affected | Not stated | redhat-SADP |
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.
A flaw was found in Keras. Attackers can exploit a path traversal vulnerability in the archive extraction utilities, specifically `filter_safe_tarinfos()` and `filter_safe_zipinfos()`. This occurs because the validation of archive member paths is performed against the process's current working directory (CWD) instead of the actual extraction destination. When the CWD is set to the filesystem root, this allows malicious paths to bypass security checks. Successful exploitation can lead to arbitrary file writes outside the intended directory, potentially enabling attackers to overwrite critical configuration files, inject malicious code, or corrupt machine learning data.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 8.1 / 10
- Severity
- high
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.1 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| keras-team | keras-team/keras | unspecified to < 3.14.0 (affected · custom) | @huntr_ai · cna |
| Red Hat | Red Hat OpenShift AI 2.25 | 1783024305 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 2.25 | 1783342900 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: affected | redhat-SADP · adp |
Weaknesses
2- CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
6- https://access.redhat.com/errata/RHSA-2026:42644
- https://access.redhat.com/security/cve/CVE-2026-11816
- RHBZ#2487912 https://bugzilla.redhat.com/show_bug.cgi?id=2487912
- https://github.com/keras-team/keras/commit/2465b6657b02c8eed308759b7e800e295ae01888
- https://huntr.com/bounties/a07e3983-7158-4419-af2b-38f1dea01a4f
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-11816.json
Provider assertions
3@huntr_ai · cna
Path Traversal in keras-team/keras
redhat-SADP · adp
keras: Keras: Arbitrary file write via path traversal in archive extraction utilities
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4e7a69e7efa29ea9aa81a5c524a5c3506f49bbc71914e140bcf0ad7dd9bca752
- Ingested
- 23 Sep 2026, 09:00:42 UTC
- Source record
- Official CVE record