{"id":"CVE-2026-12480","sourceIdentifier":"security@huntr.dev","published":"2026-07-01T17:16:19.330","lastModified":"2026-10-25T17:10:00.197","vulnStatus":"Awaiting Analysis","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"Las versiones de Keras hasta la 3.13.2 inclusive son vulnerables a una lectura arbitraria de archivos HDF5 debido a una corrección incompleta para CVE-2026-1669. La vulnerabilidad reside en los métodos “H5IOStore._verify_dataset()” y “file_editor.py”, que no verifican la propiedad “dataset.is_virtual” de los conjuntos de datos HDF5. Esto permite a un atacante crear un archivo de modelo .keras malicioso o un archivo de pesos .h5 que contiene un Conjunto de Datos Virtual (VDS) que hace referencia a archivos HDF5 externos en el sistema de archivos de la víctima. Cuando la víctima carga el modelo usando “keras.models.load_model()” o “keras.saving.load_model()”, el archivo externo se lee de forma transparente, lo que lleva a una potencial revelación de información. Corregido en las versiones 3.12.2 y 3.14.1."}],"affected":[{"source":"security@huntr.dev","affectedData":[{"vendor":"keras-team","product":"keras-team/keras","versions":[{"version":"unspecified","lessThan":"3.12.2, 3.14.1","versionType":"custom","status":"affected"}]}]}],"metrics":{"cvssMetricV30":[{"source":"security@huntr.dev","type":"Secondary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":1.8,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-07-01T17:46:27.752463Z","id":"CVE-2026-12480","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security@huntr.dev","type":"Secondary","description":[{"lang":"en","value":"CWE-73"}]}],"references":[{"url":"https://github.com/keras-team/keras/commit/d5a88bdb137c0d3039b8f4bbbe8c7099925cc10c","source":"security@huntr.dev"},{"url":"https://huntr.com/bounties/1875d257-5b03-4a69-ac70-e98653fa12c7","source":"security@huntr.dev"},{"url":"https://huntr.com/bounties/1875d257-5b03-4a69-ac70-e98653fa12c7","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}