Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-12482
Published:July 14, 2026
Updated:August 06, 2026
A vulnerability in keras-team/keras version 3.12.0 allows an attacker to craft a malicious tar archive that bypasses the "filter_safe_tarinfos" validation in "keras/src/utils/file_utils.py". Specifically, symlink entries are not subjected to the same "is_path_in_dir" validation as regular file entries, allowing symlinks to be created outside the intended extraction directory. This can lead to symlink-based file read, file overwrite, or directory escape attacks. The issue is particularly impactful on Python 3.10 and 3.11, where "filter_safe_tarinfos" is the sole defense against tar path traversal. This vulnerability is distinct from CVE-2025-12060 and other previously reported issues.
Affected Packages
keras (CONDA):
Affected version(s) =3.13.2 <3.14.0
Fix Suggestion:
Update to version 3.14.0
keras (CONDA):
Affected version(s) >=1.0.7 <3.12.2
Fix Suggestion:
Update to version 3.12.2
https://github.com/keras-team/keras.git (GITHUB):
Affected version(s) >=v3.12.0 <v3.12.2
Fix Suggestion:
Update to version v3.12.2
https://github.com/keras-team/keras.git (GITHUB):
Affected version(s) >=v3.13.0 <v3.14.0
Fix Suggestion:
Update to version v3.14.0
keras (PYTHON):
Affected version(s) >=0.1.0 <3.12.2
Fix Suggestion:
Update to version 3.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:
2.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
3.1
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
EPSS
Base Score:
0.30