{"cve":"CVE-2026-12480","nvd":{"published":"2026-07-01T17:16:19.330","modified":"2026-10-25T17:10:00.197","status":"Awaiting Analysis","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_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":5.5},"cwes":["CWE-73"],"references":["https://github.com/keras-team/keras/commit/d5a88bdb137c0d3039b8f4bbbe8c7099925cc10c","https://huntr.com/bounties/1875d257-5b03-4a69-ac70-e98653fa12c7","https://huntr.com/bounties/1875d257-5b03-4a69-ac70-e98653fa12c7"],"products":[],"source":"nvd","synced_at":"2026-10-25T17:50:06.907763985+00:00"},"epss":{"cve":"CVE-2026-12480","score":0.00175,"percentile":0.06895,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-26c4-7vv6-867j","url":"https://osv.dev/vulnerability/GHSA-26c4-7vv6-867j","summary":"Keras: HDF5 virtual datasets can disclose local files","modified":"2026-08-10T11:40:53.891931306Z","packages":[{"ecosystem":"PyPI","name":"keras","purl":"pkg:pypi/keras","ranges":["<3.12.3"],"fixed":["3.12.3"]},{"ecosystem":"PyPI","name":"keras","purl":"pkg:pypi/keras","ranges":[">=3.13.0 <3.15.0"],"fixed":["3.15.0"]}]},{"id":"PYSEC-2026-3629","url":"https://osv.dev/vulnerability/PYSEC-2026-3629","summary":"Keras: HDF5 virtual datasets can disclose local files","modified":"2026-08-10T11:30:13.122559743Z","packages":[{"ecosystem":"PyPI","name":"keras","purl":"pkg:pypi/keras","ranges":["<3.12.3",">=3.13.0 <3.15.0"],"fixed":["3.12.3","3.15.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}