CVE-2026-9335

MEDIUM
MEDIUM Priority: 0.05 BB Relevance: 63/100
Published: 2026-08-02 Modified: 2026-10-23 First seen: 2026-10-29 Status: active

Attack Surface

Network Low Complexity No Auth Conf. Impact

CVSS Vector Breakdown

AV: Network
AC: Low
PR: None
UI: Required
S: Unchanged
C: High
I: None
A: None

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.

Weakness Classification (1)

Bug Bounty Relevance

63 / 100
✓ Network accessible
✓ No authentication
✓ Low complexity

CVSS Score

6.5 / 10.0 v3.0
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

EPSS — Exploitation Probability

0.77%
Raw Score 0.007670
Percentile 55.4%
Date 2026-10-29

EPSS Trend

2026-10-29
0.00767
2026-10-28
0.00767

Intelligence Sources

nvd ref →