Skip to content
HighVulnerability

CVE-2026-9335: keras-team/keras local HDF5 file disclosure through ExternalLinks

Identifier
CVE-2026-9335
Published
Record updated
View JSON
Affected
  • keras < 3.12.3, fixed in 3.12.3, released June 26, 2026, 37 days before disclosure
  • keras >= 3.13.0, < 3.15.0, fixed in 3.15.0, released June 24, 2026, 39 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.8%

Summary

CVE-2026-9335 affects keras-team/keras versions <= 3.14.0. The KerasFileEditor and keras.saving.load_weights functions bypass the safe_get_h5_group and safe_get_h5_dataset helpers, so HDF5 ExternalLinks are automatically dereferenced. An attacker can supply a malicious .h5, .weights.h5, or .keras file with ExternalLinks to disclose sensitive data from the victim's local filesystem.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.