CVE-2026-12482: keras-team/keras · Path Traversal
Affects keras-team/kerasSource CVE Database V5
Mentioned vulnerabilities
Not known to be exploited · CVSS 3.1 Low · fixed in 3.12.3 : update keras-team/keras when convenient.
Data as of 26 Nov 2026, 14:58 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 18% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.12.3, 3.15.0
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 14 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.
What to do
Upgrade keras to 3.12.3; keras to 3.15.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| keras-teamkeras-team/keras | Affected
| Fixed in– |
PyPIkeraspkg:pypi/kerasOther threats | Affected
| Fixed in
|
PyPIkeraspkg:pypi/kerasOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, users should avoid extracting untrusted tar archives with the affected keras version or apply manual validation of tar contents before extraction.
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.