Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-11816
Published:June 11, 2026
Updated:August 06, 2026
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 Packages
keras (CONDA):
Affected version(s) >=1.0.7 <3.14.0
Fix Suggestion:
Update to version 3.14.0
https://github.com/keras-team/keras.git (GITHUB):
Affected version(s) >=v2.6.0-rc0 <v3.12.2
Fix Suggestion:
Update to version v3.12.2
keras (PYTHON):
Affected version(s) >=0.1.0 <3.14.0
Fix Suggestion:
Update to version 3.14.0
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.6
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.1
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
EPSS
Base Score:
0.56