MediumVulnerability
CVE-2026-12480: Keras arbitrary HDF5 file read through virtual datasets in model loading
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-12480
- Published
- Record updated
- Affected
- keras < 3.12.3, fixed in 3.12.3
- keras >= 3.13.0, < 3.15.0, fixed in 3.15.0
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.2%
Summary
Keras versions up to and including 3.13.2 contain an arbitrary HDF5 file read flaw, an incomplete fix for CVE-2026-1669. The `H5IOStore._verify_dataset()` and `file_editor.py` methods do not check the `dataset.is_virtual` property, so a crafted `.keras` or `.h5` file with a Virtual Dataset can reference external HDF5 files on the victim's filesystem. Loading that model with `keras.models.load_model()` or `keras.saving.load_model()` transparently reads those files, which can disclose information.
Mitigation
Fixed in versions 3.12.2 and 3.14.1.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- kerasPyPINo LLM dependency detected · 6 tracked dependents
Related items
- LowFBI arrests Saudi OpenAI employee who allegedly planted recording device in conference roomSimilar attack · CNBC Technology
- MediumVisual Studio Copilot and SSMS Remote Code Execution (CVE-2026-103572)Similar attack · Embrace The Red
- LowAnthropic warns self-replicating AI could spread to your smart devicesSimilar attack · BleepingComputer
- HighCVE-2026-110207: Wukong AICRM missing authorization in user and role administration APIsSimilar attack · NVD/CVE Database
- HighCVE-2026-110202: Roo Code command approval bypass via bare >& redirect prefixSimilar attack · NVD/CVE Database