CVE-2026-75104 Hugging Face Transformers Path Traversal via Checkpoint Index

Medium 6.8 Published Updated

Attackers can read arbitrary files outside the model directory by supplying malicious checkpoint index files with path traversal sequences.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-75104?

CVE-2026-75104 is a medium-severity path traversal vulnerability in huggingface transformers, published on 17 Aug 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Hugging Face Transformers fails to validate shard filenames in checkpoint index files, allowing attackers to read arbitrary files outside the model directory. Attackers can supply malicious index files with parent-directory references or absolute paths that are joined without validation, enabling file disclosure and filesystem reconnaissance.

Weakness: CWE-22

Which versions are affected by CVE-2026-75104?

How do I fix CVE-2026-75104?

No fix has been published for CVE-2026-75104 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-75104 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-75104 exists.

Sources

Also known as GHSA-fv5v-hfxp-5379.

Is CVE-2026-75104 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free