Skip to main content
EPSS 0.3%top 81%

CVE-2026-75104: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in huggingface transformers

0
Medium
Published: 08/17/2026 (08/17/2026, 20:36:00 UTC)
Source: GCVE Database
Vendor/Project: huggingface
Product: 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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Affected software

transformers
pkg:pypi/transformers
Affected versions
*

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/25/2026, 01:57:55 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses