6.5

CVE-2026-9335: keras-team keras-team/keras Path Traversal

CVSS: 6.5v3.0MediumAwaiting 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) Path Traversal vulnerability in keras-team keras-team/keras. EPSS estimates a 0.77% chance of exploitation in the next 30 days, higher than 54.6% of scored vulnerabilities.

Overall risk
26/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.5/10
010
Medium · v3.0 (CVE.org)
EPSS score
0.77%
0%100%
Low · +0.12 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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.77%

Chance of exploitation in the next 30 days

Percentile

55%

Versus all other CVEs

30-day change

+0.12 pp

From 0.65% on 18-09-2026

18-09-202618-10-2026
EPSS score
0.77%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

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