Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
keras-team keras-team/keras
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Keras是Keras团队开源的一个多后端深度学习框架。 keras 3.13.2及之前版本存在输入验证错误漏洞,该漏洞源于H5IOStore._verify_dataset()和file_editor.py方法未能检查HDF5数据集的dataset.is_virtual属性,可能导致攻击者制作包含虚拟数据集的恶意.keras模型存档或.h5权重文件,当受害者加载模型时读取外部文件,导致信息泄露。

AI Predicted 7.5 Difficulty: Moderate EPSS 0.18% · P6

Possible ATT&CK Techniques 1 AI

T1005 · Data from Local System

Affected Version Matrix 1

VendorProduct Version RangeStatus
keras-team keras-team/keras unspecified< 3.12.2, 3.14.1 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-12480

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Arbitrary HDF5 File Read via Virtual Dataset Bypass in keras-team/keras
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
文件名或路径的外部可控制
Source: CVE Program / CVE List V5
Vulnerability Title
keras 输入验证错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Keras是Keras团队开源的一个多后端深度学习框架。 keras 3.13.2及之前版本存在输入验证错误漏洞,该漏洞源于H5IOStore._verify_dataset()和file_editor.py方法未能检查HDF5数据集的dataset.is_virtual属性,可能导致攻击者制作包含虚拟数据集的恶意.keras模型存档或.h5权重文件,当受害者加载模型时读取外部文件,导致信息泄露。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
keras-team keras-team/keras unspecified ~ 3.12.2, 3.14.1 -

II. Public POCs for CVE-2026-12480

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-12480

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-12480 (1)

Vendor Advisories for CVE-2026-12480 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-12480

No comments yet


Leave a comment