CVE-2026-12484: keras-team/keras · Deserialization of Untrusted Data
Affects keras-team/kerasSource CVE Database V5
Not known to be exploited · CVSS 7.8 High · fixed in 3.12.3 : patch keras-team/keras soon.
Data as of 2 Dec 2026, 18:36 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 26% 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:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 19 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 2 Dec 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 processing untrusted Keras layer configurations with the TorchModuleWrapper.from_config method or ensure that calls to this method occur within a SafeModeScope(True) context to enforce safe deserialization.
Description
CVE-2026-12484 is a high-severity vulnerability in keras-team/keras version 3.15.0 that allows unsafe deserialization of attacker-controlled PyTorch pickle data via the public method keras.layers.TorchModuleWrapper.from_config. This method calls torch.load without requiring an explicit unsafe opt-in or enforcing safe deserialization, potentially leading to arbitrary code execution if untrusted Keras layer configurations are processed. The vulnerability exists because safe deserialization is only enforced when explicitly guarded by Keras safe mode, which is not the default behavior.