CVE-2026-9335
Last modified
CVE-2026-9335 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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. EPSS estimates a 0.65% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| keras-team | keras-team/keras | < 3.12.3, 3.15.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-9335?
How severe is CVE-2026-9335?
How do I fix CVE-2026-9335?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-9319IBM WebSphere Application Server 9.0, and 8.5 is vulnerable …9
- CVE-2026-9320IBM WebSphere Application Server 9.0, and 8.5 and IBM WebSph…7.5
- CVE-2026-9322IBM WebSphere Application Server 9.0, and 8.5 and IBM WebSph…7.5
- CVE-2026-9323The urwid web display backend (urwid/display/web.py) generat…9.2
- CVE-2026-9330IBM WebSphere Application Server 9.0, and 8.5 is affected by…8.5
- CVE-2026-9334Cpanel::JSON::XS versions before 4.41 for Perl allow type co…7.3
- CVE-2026-9341The Academy LMS – WordPress LMS Plugin for Complete eLearnin…4.3
- CVE-2026-9342A security flaw has been discovered in SourceCodester Hospit…6.3
- CVE-2026-9343A weakness has been identified in Edimax EW-7438RPn up to 1.…6.3
- CVE-2026-9344A security vulnerability has been detected in Edimax EW-7438…8.8
- CVE-2026-9345A vulnerability was detected in Edimax EW-7438RPn up to 1.31…8.8
- CVE-2026-9346A flaw has been found in Edimax EW-7438RPn up to 1.31. This …8.8
Are you affected by CVE-2026-9335?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
