CVE-2026-12480 json
Arbitrary HDF5 File Read via Virtual Dataset Bypass in keras-team/keras
published 4mo ago modified 15d ago also GHSA-26c4-7vv6-867j , PYSEC-2026-3629 , EUVD-2026-41090
- cvss
- 5.5
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 8%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi keras 3.12.3, 3.15.0
- keras-team keras-team/keras 3.12.2, 3.14.1
Is CVE-2026-12480 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-12480 updated cvss 5.5
keras: Keras: Information disclosure via malicious model archive with Virtual Dataset
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-kserve-agent-rhel9, rhoai/odh-kserve-router-rhel9, rhoai/odh-kserve-controller-rhel9, rhoai/odh-modelmesh-runtime-adapter-rhel9, rhoai/odh-kserve-storage-initializer-rhel9, rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9, +3 moreaffected: no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 4mo ago
Exploit prediction
0.19% chance of exploitation in the next 30 days, higher than 8% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- huntr.com https://huntr.com/bounties/1875d257-5b03-4a69-ac70-e98653fa12c7 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 5.5 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| GitHub | 3.0 | 5.5 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
| OSV | 3.0 | 5.5 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | keras | <3.12.3 >=3.13.0, <3.15.0 |
3.12.3 3.15.0 |
Affected products
- keras-team keras-team/keras
Classification
- Weakness
-
- CWE-73 External Control of File Name or Path
References
-
github.com
/keras-team/keras/commit/d5a88bdb137c0d3039b8f4bbbe8c7099925cc10c
web
-
github.com
/keras-team/keras/commit/8f987f11bf7512f0df4774a8f1557bba07dc2b49
web
-
huntr.com
/bounties/1875d257-5b03-4a69-ac70-e98653fa12c7
exploit, web
-
nvd.nist.gov
/vuln/detail/CVE-2026-12480
advisory
-
github.com
/keras-team/keras
package
-
github.com
/keras-team/keras/releases/tag/v3.12.3
web
-
github.com
/keras-team/keras/releases/tag/v3.15.0
web
-
pypi.org
/project/keras
package
-
github.com
/advisories/GHSA-26c4-7vv6-867j
advisory
Sources
- CVE List CVE-2026-12480
- GitHub Advisory GHSA-26c4-7vv6-867j
- NVD CVE-2026-12480
- OSV PYSEC-2026-3629
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.