Medium severity · published Jul 14, 2026
CVE-2026-12482
Path Traversal via Symlink Name Validation Bypass in keras-team/keras
6.5
CVSS
0.3%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 26% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
keras-team/keras · keras-team
through latest · source: vendor
KE
Keras · Keras
3.12.0 · source: NVD
Affected product
KE
keras-team/keras
keras-team
More from keras-team/keras
9.8
CVE-2026-12481
Deserialization of Untrusted Data in keras-team/keras
8.1
CVE-2026-11816
Path Traversal in keras-team/keras
8.0
CVE-2025-12638
Path Traversal Vulnerability in keras-team/keras via Tar Archive Extraction in keras.utils.get_file()
7.8
CVE-2026-12484
Unsafe Deserialization in keras.layers.TorchModuleWrapper.from_config
7.8
CVE-2026-1462
Safe Mode Bypass in keras-team/keras