CVE-2026-12480: keras-team/keras · External Control of File Name or Path
Affects keras-team/kerasSource CVE Database V5
Mentioned vulnerabilities
Not known to be exploited · CVSS 5.5 Medium : upgrade to 3.14.1 or 3.12.2 when convenient.
Data as of 13 Nov 2026, 23:53 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.14.1, 3.12.2
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 1 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 14 Nov 2026.
What to do
Upgrade keras to 3.14.1 or 3.12.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| keras-teamkeras-team/keras | 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
A fix is available in Keras versions 3.12.2 and 3.14.1. Users should upgrade to one of these versions or later to remediate this vulnerability. No other mitigations are indicated or necessary according to the vendor advisory.
Description
Keras versions before 3.12.2 and between 3.12.3 and before 3.14.1 contain a vulnerability that allows an attacker to craft malicious model files with Virtual Datasets referencing external files. Loading such models can cause unintended reading of external files, potentially disclosing sensitive information. This issue is due to incomplete validation of the dataset's virtual property. The vulnerability is fixed in versions 3.12.2 and 3.14.1.