CVE-2026-12480: Arbitrary HDF5 File Read via Virtual Dataset Bypass in keras-team/keras

Published Jul 1, 2026
·
Updated

Arbitrary HDF5 File Read via Virtual Dataset Bypass in keras-team/keras

Other sources

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.verifydataset() and fileeditor.py methods, which fail to check the dataset.isvirtual 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.loadmodel() or keras.saving.loadmodel(), the external file is transparently read, leading to potential information disclosure. Fixed in versions 3.12.2 and 3.14.1.

MITRE

Affected Software

2 affected componentsFixes available
keras-team Keras<=3.13.2
Microsoft azl3 keras 3.3.3-7<3.3.3-8
3.3.3-8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.3.3-8
  2. Upgrade

    Upgrade keras-team/keras to a version that resolves this vulnerability.

    Fixed in 3.12.2
  3. Upgrade

    Upgrade keras-team/keras to a version that resolves this vulnerability.

    Fixed in 3.14.1

Event History

Jul 1, 2026
CVE Published
via MITRE·04:53 PM
Data Sourced
via MITRE·04:53 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 PM
DescriptionSeverityWeakness
Jul 7, 2026
Data Sourced
via Microsoft·08:01 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:01 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-12480?

CVE-2026-12480 has a medium severity rating of 5.5.

2

How do I fix CVE-2026-12480?

To fix CVE-2026-12480, update Keras to version 3.13.3 or later.

3

What type of vulnerability is CVE-2026-12480?

CVE-2026-12480 is an arbitrary file read vulnerability affecting HDF5 files.

4

Who is affected by CVE-2026-12480?

Users of Keras versions up to and including 3.13.2 are affected by CVE-2026-12480.

5

What causes the vulnerability in CVE-2026-12480?

The vulnerability in CVE-2026-12480 is caused by an incomplete fix related to HDF5 dataset verification.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203