CVE-2026-11816 json
Path Traversal in keras-team/keras
published 4mo ago modified 14d ago also GHSA-hqp4-2352-xf5r , PYSEC-2026-2324 , EUVD-2026-36244
- cvss
- 8.1
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 47%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi keras 3.14.0
- keras-team keras-team/keras 3.14.0
- Red Hat Red Hat OpenShift AI 2.25 1783024305, 1783342900
- github.com/keras-team/keras@2465b66 commit
- github.com/keras-team/keras#22194 pull request
- github.com/keras-team/keras/releases/tag/v3.14.0 release
Is CVE-2026-11816 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-11816 updated cvss 8.1
keras: Keras: Arbitrary file write via path traversal in archive extraction utilities
-
Red Hat OpenShift AI 2.25 rhoai/odh-modelmesh-runtime-adapter-rhel9 1783342900, rhoai/odh-kserve-storage-initializer-rhel9 1783024305fixed: vendor fix RHSA-2026:42644
-
Red Hat OpenShift AI 3.3 rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9 1789651398, rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9 1789651387, rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9 1790077488, rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9 1789983680fixed: vendor fix RHSA-2026:73987
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-kserve-agent-rhel9, rhoai/odh-kserve-router-rhel9, rhoai/odh-kserve-controller-rhel9 Red Hat OpenShift AI 2.25 rhoai/odh-rhel9-operator 1784004914, rhoai/odh-vllm-cpu-rhel9 1782397826, rhoai/odh-dashboard-rhel9 1782826282, rhoai/odh-modelmesh-rhel9 1783443816, rhoai/odh-operator-bundle 1784005555, rhoai/odh-vllm-cuda-rhel9 1783998774, +68 more Red Hat OpenShift AI 3.3 rhoai/odh-cli-rhel9 1790070206, rhoai/rhai-cli-rhel9 1790070206, rhoai/odh-mlflow-rhel9 1789653606, rhoai/odh-trainer-rhel9 1790136369, rhoai/odh-maas-api-rhel9 1790131842, rhoai/odh-mlserver-rhel9 1789121365, +73 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 4mo ago
Exploit prediction
0.56% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- huntr.com https://huntr.com/bounties/a07e3983-7158-4419-af2b-38f1dea01a4f referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 8.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| CISA ADP | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| OSV | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
| GitHub | 3.0 | 8.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | keras | <3.14.0 |
3.14.0 |
Affected products
- keras-team keras-team/keras
- Red Hat Red Hat OpenShift AI 2.25
- Red Hat Red Hat OpenShift AI (RHOAI)
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/keras-team/keras/commit/2465b6657b02c8eed308759b7e800e295ae01888
web, patch
-
github.com
/keras-team/keras/pull/22194
web
-
huntr.com
/bounties/a07e3983-7158-4419-af2b-38f1dea01a4f
exploit, web, third-party-advisory, evidence
-
access.redhat.com
/errata/RHSA-2026:42644
vendor-advisory, web
-
access.redhat.com
/security/cve/CVE-2026-11816
vdb-entry, web, mitigation, third-party-advisory, advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=2487912
issue-tracking, web, third-party-advisory, advisory
-
security.access.redhat.com
/data/csaf/v2/vex/2026/cve-2026-11816.json
web, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-11816
advisory
-
github.com
/keras-team/keras
package
-
github.com
/keras-team/keras/releases/tag/v3.14.0
web
-
github.com
/pypa/advisory-database/tree/main/vulns/keras/PYSEC-2026-2324.yaml
web
-
github.com
/advisories/GHSA-hqp4-2352-xf5r
advisory
Sources
- CVE List CVE-2026-11816
- GitHub Advisory GHSA-hqp4-2352-xf5r
- NVD CVE-2026-11816
- OSV PYSEC-2026-2324
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.