5.5

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

CVSS: 5.5v3.0MediumAwaiting analysis
AliasesGHSA-26c4-7vv6-867jPYSEC-2026-3629UBUNTU-CVE-2026-12480
Published 01-07-2026Last modified 01-07-2026

Vulnerability summary

CVE-2026-12480 is a medium (CVSS 5.5) External Control of File Name or Path vulnerability in keras-team keras-team/keras. EPSS estimates a 0.18% chance of exploitation in the next 30 days, higher than 6.5% of scored vulnerabilities.

Overall risk
22/100
0100
Low · default modelHow is this calculated?
CVSS score
5.5/10
010
Medium · v3.0 (CVE.org)
EPSS score
0.18%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 01-07-2026
    PublishedVulnerability first disclosed.
  2. 01-07-2026
    Last modifiedVulnerability information updated.

Description

Keras versions up to and including 3.13.2 are vulnerable to an arbitrary HDF5 file read due to an incomplete fix for CVE-2026-1669. The vulnerability resides in the `H5IOStore._verify_dataset()` and `file_editor.py` methods, which fail to check the `dataset.is_virtual` property of HDF5 datasets. This allows an attacker to craft a malicious `.keras` model archive or `.h5` weights file containing a Virtual Dataset (VDS) that references external HDF5 files on the victim's filesystem. When the victim loads the model using `keras.models.load_model()` or `keras.saving.load_model()`, the external file is transparently read, leading to potential information disclosure. Fixed in versions 3.12.2 and 3.14.1.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.18%

Chance of exploitation in the next 30 days

Percentile

7%

Versus all other CVEs

30-day change

0.00 pp

From 0.18% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.18%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • kerasAll versions (No fix recorded)
Keras-team1 product
PyPI1 product
  • keras< 3.12.3 | ≥ 3.13.0, < 3.15.0
Ubuntu1 product
  • kerasAll versions (No fix recorded)

4 vendors · 4 products

References

12 links
Show all 12 references