keras-team/keras · Path Traversal
Affects kerasSource GCVE Database
Not known to be exploited · CVSS 3.1 Low.
Data as of 26 Oct 2026, 10:12 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 25% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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
Weaponised: 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 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 20.04 LTSkeraspkg:deb/ubuntu/keras@2.2.4-1?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSkeraspkg:deb/ubuntu/keras@2.1.1-1?arch=source&distro=bionicOther 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
A patch is available for this vulnerability. Users should upgrade Keras to version 3.12.3 or later to remediate the issue. No additional mitigation steps are indicated by the vendor advisory.
Description
Keras versions prior to 3.12.3 and some earlier versions have a vulnerability in tar archive extraction that allows symlink-based path traversal. This flaw occurs because symlink entries bypass path validation, enabling attackers to create symlinks outside the intended extraction directory. This can lead to unauthorized file reads, overwrites, or directory escapes. The vulnerability is relevant especially in Python 3.10 and 3.11 environments. A patch is available to address this issue. The severity is assessed as medium.
References
- ubuntu.com/security/CVE-2026-12482 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-12482 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-12482 (opens in a new tab)
- github.com/keras-team/keras/pull/23015 (opens in a new tab)
- github.com/keras-team/keras/pull/23165 (opens in a new tab)
- github.com/keras-team/keras/commit/9867df45c456dd1077a6243bb56219f66e288150 (opens in a new tab)
- github.com/keras-team/keras/commit/d338a45204bdc787c8b3c4a9b82c1911cd52dedf (opens in a new tab)
- github.com/keras-team/keras (opens in a new tab)
- github.com/keras-team/keras/releases/tag/v3.12.3 (opens in a new tab)
- github.com/keras-team/keras/releases/tag/v3.15.0 (opens in a new tab)
- huntr.com/bounties/5d3638e8-a9f6-4964-a865-ddb9fe4d4b6e (opens in a new tab)