---
id: CVE-2026-1669
title: >-
  Arbitrary file read in the model loading mechanism (HDF5 integration) in Keras
  versions 3.0.0 through 3.13.1 on all supported platforms allows a remote
  attacker to read local files and disclose sensitive information via a crafted
  .keras …
summary: >-
  Arbitrary file read in the model loading mechanism (HDF5 integration) in Keras
  versions 3.0.0 through 3.13.1 on all supported platforms allows a remote
  attacker to read local files and disclose sensitive information via a crafted
  .keras …
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-73
  - CWE-200
vendor: keras
product: keras
affected:
  - 'keras >= 3.0.0, <= 3.13.1'
published: '2026-02-11'
updated: '2026-06-30'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-1669'
references:
  - url: 'https://github.com/google/security-research/security/advisories'
    label: cve-coordination@google.com
  - url: 'https://access.redhat.com/security/cve/CVE-2026-1669'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2439205'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-1669.json
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: >-
      https://github.com/keras-team/keras/security/advisories/GHSA-3m4q-jmj6-r34q
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-1669'
  - url: 'https://github.com/keras-team/keras/pull/22057'
  - url: >-
      https://github.com/keras-team/keras/commit/8a37f9dadd8e23fa4ee3f537eeb6413e75d12553
  - url: 'https://github.com/keras-team/keras'
  - url: 'https://github.com/keras-team/keras/releases/tag/v3.12.1'
  - url: 'https://github.com/keras-team/keras/releases/tag/v3.13.2'
tags:
  - nvd
  - osv
  - pip
epss: 0.0031
epssPercentile: 0.24023
ingestedAt: '2026-07-03T18:53:52.382Z'
aliases:
  - GHSA-3m4q-jmj6-r34q
  - PYSEC-2026-2546
ecosystem: pip
patched:
  - keras 3.13.2
  - keras 3.12.1
scores:
  nvd: 7.5
  osv: 7.1
---

## Overview

Arbitrary file read in the model loading mechanism (HDF5 integration) in Keras versions 3.0.0 through 3.13.1 on all supported platforms allows a remote attacker to read local files and disclose sensitive information via a crafted .keras model file utilizing HDF5 external dataset references.

## Affected

- `keras >= 3.0.0, <= 3.13.1`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-1669)

Affected packages:

- `keras >= 3.13.0, < 3.13.2`
- `keras >= 3.0.0, < 3.12.1`

Patched in:

- `keras 3.13.2`
- `keras 3.12.1`

Source: https://osv.dev/vulnerability/GHSA-3m4q-jmj6-r34q
