GHSA-gfmx-qqqh-f38q: Duplicate Advisory Keras Vulnerable To Arbitrary File Vulnerability

HIGH
CWE-73
Published
Advisory Summary

GHSA-gfmx-qqqh-f38q is a HIGH keras vulnerable to arbitrary file vulnerability (CWE-73: External Control of File Name or Path) affecting Duplicate Advisory libraries in the PyPI ecosystem. The issue involves keras vulnerable to arbitrary file read in the model loading mechanism (hdf5 integration). Remediation is available in the latest vendor maintenance releases.

GHSA-gfmx-qqqh-f38q at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-gfmx-qqqh-f38q
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-73: External Control of File Name or Path
Affected Product Duplicate Advisory
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix GHSA-gfmx-qqqh-f38q

To remediate this vulnerability, upgrade all affected Duplicate Advisory dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

keras fixed: Latest secure release
pip install keras>=Latest secure release
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show keras

How to Check if You Are Affected

To determine whether your Python environment is affected by GHSA-gfmx-qqqh-f38q, inspect your installed packages using pip:

pip show keras

Analyze the terminal output to locate any version of Duplicate Advisory in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The pip show keras command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-73: External Control of File Name or Path, where the product allows user input to control or influence paths or file names that are used in filesystem operations. In Duplicate Advisory, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-3m4q-jmj6-r34q. This link is maintained to preserve external references. ## Original Description 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.

GHSA-gfmx-qqqh-f38q Affected Duplicate Advisory Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
keras
PyPI
≥ 3.0.0
≤ 3.13.1

References

Frequently Asked Questions

What is GHSA-gfmx-qqqh-f38q?
GHSA-gfmx-qqqh-f38q is a security vulnerability in Duplicate Advisory involving Keras vulnerable to arbitrary file read in the model loading mechanism (HDF5 integration) under CWE-73: External Control of File Name or Path.
Which Duplicate Advisory versions are affected?
Affected versions include releases prior to current release patches across affected packages: keras.
What version fixes GHSA-gfmx-qqqh-f38q?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is keras affected?
Yes, keras is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with GHSA-gfmx-qqqh-f38q?
GHSA-gfmx-qqqh-f38q is classified under CWE-73: External Control of File Name or Path (The product allows user input to control or influence paths or file names that are used in filesystem operations.).
How can I check PyPI dependencies for GHSA-gfmx-qqqh-f38q?
Run the dependency tree command: 'pip show keras'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-gfmx-qqqh-f38q",
  "modified" : "2026-02-18T22:38:48Z",
  "published" : "2026-02-12T00:31:03Z",
  "withdrawn" : "2026-02-18T22:38:48Z",
  "aliases" : [ ],
  "summary" : "Duplicate Advisory: Keras vulnerable to arbitrary file read in the model loading mechanism (HDF5 integration)",
  "details" : "## Duplicate Advisory\nThis advisory has been withdrawn because it is a duplicate of GHSA-3m4q-jmj6-r34q. This link is maintained to preserve external references.\n\n## Original Description\nArbitrary 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.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "keras"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "last_affected" : "3.13.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-1669"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/google/security-research/security/advisories"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/keras-team/keras"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-73" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-02-12T22:09:52Z",
    "nvd_published_at" : "2026-02-11T23:16:03Z"
  }
}