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

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

AI Predicted 7.5 Difficulty: Moderate EPSS 0.13% · P3

Possible ATT&CK Techniques 1AI

T1005 · Data from Local System

Affected Version Matrix 1

VendorProductVersion RangeStatus
keras-teamkeras-team/kerasunspecified< 3.12.2, 3.14.1affected
Get alerts for future matching vulnerabilitiesLog 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: NVD (National Vulnerability Database)
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: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
文件名或路径的外部可控制
Source: NVD (National Vulnerability Database)
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

VendorProductAffected VersionsCPESubscribe
keras-teamkeras-team/keras unspecified ~ 3.12.2, 3.14.1 -

II. Public POCs for CVE-2026-12480

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

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