Skip to main content
VulnerabilityPublished

CVE-2026-12482: keras-team/keras · Path Traversal

Affects keras-team/kerasSource CVE Database V5

0
Compare

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

CVSS 3.0 base score
3.1Low
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 14 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
keras-teamkeras-team/kerasAffected
  • ≥ unspecified, ≤ latest
Fixed in–
PyPIkeraspkg:pypi/kerasOther threatsAffected
  • <3.12.3
Fixed in
  • 3.12.3
PyPIkeraspkg:pypi/kerasOther threatsAffected
  • 3.13.0 – 3.14.1
  • >=3.13.0 <3.15.0
5 affected builds
Fixed in
  • 3.15.0

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.

References

Community reviews

Loading reviews…