Skip to main content
VulnerabilityPublished

CVE-2026-12480: keras-team/keras · External Control of File Name or Path

Affects keras-team/kerasSource CVE Database V5

0
Compare

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

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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 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 14 Nov 2026.

What to do

Upgrade keras to 3.14.1 or 3.12.2.

Affected software

ProductAffectedFixed in
keras-teamkeras-team/kerasAffected
  • ≥ unspecified, < 3.12.2, 3.14.1
Fixed in–
PyPIkeraspkg:pypi/kerasOther threatsAffected
  • <3.12.2
  • >=3.12.3 <3.14.1
Fixed in
  • 3.12.2
  • 3.14.1

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.

References

Community reviews

Loading reviews…