CVE-2026-11816: high-severity vulnerability in keras-team/keras
Path Traversal in keras-team/keras
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 8.1epss 0.6%
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Affected products
keras-team · keras-team/kerasRelated CVEs — keras-team/keras
In the same product, most dangerous first.
CVE-2026-9335MEDIUMImproper Handling of HDF5 ExternalLinks in keras-team/kerasEPSS 0.8%CVE-2026-12481HIGHDeserialization of Untrusted Data in keras-team/kerasEPSS 0.7%CVE-2025-12638HIGHPath Traversal Vulnerability in keras-team/keras via Tar Archive Extraction in keras.utils.get_file()EPSS 0.7%CVE-2026-1462HIGHSafe Mode Bypass in keras-team/kerasEPSS 0.4%CVE-2026-12479MEDIUMPath Traversal in keras-team/kerasEPSS 0.4%CVE-2026-12482LOWPath Traversal via Symlink Name Validation Bypass in keras-team/kerasEPSS 0.3%
References
https://access.redhat.com/errata/RHSA-2026:42644https://access.redhat.com/security/cve/CVE-2026-11816https://bugzilla.redhat.com/show_bug.cgi?id=2487912https://github.com/keras-team/keras/commit/2465b6657b02c8eed308759b7e800e295ae01888https://huntr.com/bounties/a07e3983-7158-4419-af2b-38f1dea01a4fhttps://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-11816.json