CVE-2026-12480
published medium CVSS 3.0 · 5.5Arbitrary HDF5 File Read via Virtual Dataset Bypass in keras-team/keras
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| keras-team | — | keras-team/kerasunspecified to < 3.12.2, 3.14.1 | Affected | Not stated | @huntr_ai |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| keras-team | keras-team/keras | unspecified to < 3.12.2, 3.14.1 (affected · custom) | @huntr_ai · cna |
Weaknesses
1- CWE-73 CWE-73 External Control of File Name or Path
References
2Provider assertions
2@huntr_ai · cna
Arbitrary HDF5 File Read via Virtual Dataset Bypass in keras-team/keras
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bf8195169432aca1322fd383ff1af42f3e09aec830482d215ce0f7db43a8317f
- Ingested
- 23 Sep 2026, 09:00:58 UTC
- Source record
- Official CVE record