{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-12480","id":"CVE-2026-12480","title":"Arbitrary HDF5 File Read via Virtual Dataset Bypass in keras-team/keras","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 ","descriptionLong":"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.","published":"2026-07-01T16:53:32.326Z","updated":"2026-10-28T02:31:08.757837249Z","reserved":"2026-06-17T00:57:28.799Z","status":"Awaiting Analysis","rejected":false,"assigner":"@huntr_ai","metric":{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"@huntr_ai"},"metrics":[{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"@huntr_ai"},{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"huntr.dev"},{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.0","score":5.5,"vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["keras-team/keras"],"affectedProducts":[{"vendor":"keras-team","product":"keras-team/keras","defaultStatus":null,"versions":[{"version":"unspecified","lessThan":"3.12.2, 3.14.1","status":"affected","versionType":"custom"}],"platforms":[]}],"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"],"advisory":"GHSA-26c4-7vv6-867j"}],"cwes":["CWE-73"],"aliases":["GHSA-26c4-7vv6-867j","PYSEC-2026-3629"],"references":[{"url":"https://huntr.com/bounties/1875d257-5b03-4a69-ac70-e98653fa12c7","tags":["exploit","web"]},{"url":"https://github.com/keras-team/keras/commit/d5a88bdb137c0d3039b8f4bbbe8c7099925cc10c","tags":["fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/12xxx/CVE-2026-12480.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12480","tags":["advisory"]},{"url":"https://github.com/keras-team/keras/commit/8f987f11bf7512f0df4774a8f1557bba07dc2b49","tags":["web"]},{"url":"https://github.com/keras-team/keras","tags":["package"]},{"url":"https://github.com/keras-team/keras/releases/tag/v3.12.3","tags":["web"]},{"url":"https://github.com/keras-team/keras/releases/tag/v3.15.0","tags":["web"]},{"url":"https://pypi.org/project/keras","tags":["package"]},{"url":"https://github.com/advisories/GHSA-26c4-7vv6-867j","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.0019,"epssPercentile":0.08768,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-12480","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12480","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-12480","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-26c4-7vv6-867j","ok":true,"note":"GHSA-26c4-7vv6-867j"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-12480","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}