6.5

CVE-2026-9335: Improper Handling of HDF5 ExternalLinks in keras-team/keras

Awaiting analysis
AliasesGHSA-m8wh-29wm-52mvPYSEC-2026-3633UBUNTU-CVE-2026-9335
Published 02-08-2026Last modified 03-08-2026

Vulnerability summary

CVE-2026-9335 is a medium (CVSS 6.5) vulnerability in keras-team keras-team/keras. EPSS estimates a 0.66% chance of exploitation in the next 30 days, higher than 52.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.0 (CVE.org)
EPSS score
0.66%
0%100%
Low · -0.11 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 02-08-2026
    PublishedVulnerability first disclosed.
  2. 03-08-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.66%

Chance of exploitation in the next 30 days

Percentile

53%

Versus all other CVEs

30-day change

Decrease -0.11 pp

From 0.77% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Debian1 product
  • kerasAll versions (No fix recorded)
Keras-team1 product
PyPI1 product
  • keras< 3.12.3 | ≥ 3.13.0, < 3.15.0
Ubuntu1 product
  • kerasAll versions (No fix recorded)

4 vendors · 4 products

References

14 links
Show all 14 references