CVE-2026-75104: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in huggingface transformers
CVE-2026-75104 is a path traversal vulnerability in Hugging Face Transformers where shard filenames in checkpoint index files are not properly validated. This allows attackers to craft malicious index files with directory traversal sequences or absolute paths, potentially enabling unauthorized reading of arbitrary files outside the intended model directory. The vulnerability can lead to file disclosure and filesystem reconnaissance. It affects all versions of the transformers library. The CVSS score is 6.8, indicating a medium severity level.
AI Analysis
Technical Summary
The vulnerability arises from improper validation of shard filenames in checkpoint index files within Hugging Face Transformers. Attackers can exploit this by creating malicious index files containing directory traversal sequences or absolute paths, which the software does not restrict properly. This flaw enables unauthorized access to files outside the designated model directory, leading to potential file disclosure and reconnaissance of the filesystem. No known exploits are reported in the wild. The vulnerability affects all versions of the transformers library.
Potential Impact
Successful exploitation allows an attacker to read arbitrary files on the filesystem outside the intended model directory, which can lead to unauthorized disclosure of sensitive information and facilitate further reconnaissance. There is no indication of privilege escalation or remote code execution. The attack requires local access or the ability to supply malicious checkpoint index files.
Mitigation Recommendations
No official patch or remediation is currently available. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is released, users should avoid loading untrusted checkpoint index files and restrict access to trusted sources only.
CVE-2026-75104: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in huggingface transformers
Description
CVE-2026-75104 is a path traversal vulnerability in Hugging Face Transformers where shard filenames in checkpoint index files are not properly validated. This allows attackers to craft malicious index files with directory traversal sequences or absolute paths, potentially enabling unauthorized reading of arbitrary files outside the intended model directory. The vulnerability can lead to file disclosure and filesystem reconnaissance. It affects all versions of the transformers library. The CVSS score is 6.8, indicating a medium severity level.
CVSS v4.0
Score 6.8medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises from improper validation of shard filenames in checkpoint index files within Hugging Face Transformers. Attackers can exploit this by creating malicious index files containing directory traversal sequences or absolute paths, which the software does not restrict properly. This flaw enables unauthorized access to files outside the designated model directory, leading to potential file disclosure and reconnaissance of the filesystem. No known exploits are reported in the wild. The vulnerability affects all versions of the transformers library.
Potential Impact
Successful exploitation allows an attacker to read arbitrary files on the filesystem outside the intended model directory, which can lead to unauthorized disclosure of sensitive information and facilitate further reconnaissance. There is no indication of privilege escalation or remote code execution. The attack requires local access or the ability to supply malicious checkpoint index files.
Mitigation Recommendations
No official patch or remediation is currently available. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is released, users should avoid loading untrusted checkpoint index files and restrict access to trusted sources only.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-fv5v-hfxp-5379
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-75104"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
Threat ID: 6a838c34bf8831d539b4b068
Added to database: 08/17/2026, 22:33:24 UTC
Last enriched: 09/25/2026, 01:57:55 UTC
Last updated: 10/01/2026, 14:57:11 UTC
Views: 33
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.