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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-9335— Improper Handling of HDF5 ExternalLinks 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-team keras 3.14.0及之前版本存在路径遍历漏洞,该漏洞源于对HDF5 ExternalLinks的处理不当,可能导致任意本地HDF5文件内容泄露。

AI Predicted 5.5 Difficulty: Easy EPSS 0.77% · P54

Possible ATT&CK Techniques 1 AI

T1135 · Network Share Discovery

Affected Version Matrix 1

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

I. Basic Information for CVE-2026-9335

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
Improper Handling of HDF5 ExternalLinks in keras-team/keras
Source: CVE Program / CVE List V5
Vulnerability Description
A vulnerability in keras-team/keras versions <= 3.14.0 allows arbitrary local HDF5 file content disclosure due to improper handling of HDF5 ExternalLinks. The `KerasFileEditor` and `keras.saving.load_weights` functions bypass the `safe_get_h5_group` and `safe_get_h5_dataset` helpers, which are designed to reject ExternalLinks and SoftLinks. This results in automatic dereferencing of links to external HDF5 files, enabling attackers to disclose sensitive data from the victim's local filesystem. Specifically, `KerasFileEditor` extracts attributes and datasets from linked files into its internal structures, while `keras.saving.load_weights` loads weights from linked files into the user's model. This issue can be exploited by providing a malicious `.h5`, `.weights.h5`, or `.keras` file containing ExternalLinks.
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-team keras 路径遍历漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Keras是Keras团队开源的一个多后端深度学习框架。 keras-team keras 3.14.0及之前版本存在路径遍历漏洞,该漏洞源于对HDF5 ExternalLinks的处理不当,可能导致任意本地HDF5文件内容泄露。
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.3, 3.15.0 -

II. Public POCs for CVE-2026-9335

# 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-9335

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

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

Vendor Advisories for CVE-2026-9335 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-9335

No comments yet


Leave a comment