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 that allows attackers to read arbitrary files outside the intended model directory. This occurs because shard filenames in checkpoint index files are not properly validated, enabling malicious index files with parent-directory references or absolute paths to disclose files and perform filesystem reconnaissance. The vulnerability affects versions up to and including 5.15.0. The CVSS 4.0 score is 6.8, indicating a medium severity. No official patch or remediation guidance is currently available.
AI Analysis
Technical Summary
Hugging Face Transformers fails to validate shard filenames in checkpoint index files, allowing attackers to supply malicious index files containing parent-directory references or absolute paths. These paths are joined without validation, enabling attackers to read arbitrary files outside the model directory. This improper limitation of pathname to a restricted directory is classified as a path traversal vulnerability. It affects versions up to 5.15.0. No vendor advisory or patch information is provided, and no known exploits are reported in the wild.
Potential Impact
An attacker can read arbitrary files outside the intended model directory, potentially disclosing sensitive information and enabling filesystem reconnaissance. The vulnerability requires local access (AV:L) and user interaction (UI:P), with no privileges required (PR:N). The impact on confidentiality is high, while integrity and availability are not affected.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid loading untrusted checkpoint index files to prevent exploitation.
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 that allows attackers to read arbitrary files outside the intended model directory. This occurs because shard filenames in checkpoint index files are not properly validated, enabling malicious index files with parent-directory references or absolute paths to disclose files and perform filesystem reconnaissance. The vulnerability affects versions up to and including 5.15.0. The CVSS 4.0 score is 6.8, indicating a medium severity. No official patch or remediation guidance is currently available.
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Hugging Face Transformers fails to validate shard filenames in checkpoint index files, allowing attackers to supply malicious index files containing parent-directory references or absolute paths. These paths are joined without validation, enabling attackers to read arbitrary files outside the model directory. This improper limitation of pathname to a restricted directory is classified as a path traversal vulnerability. It affects versions up to 5.15.0. No vendor advisory or patch information is provided, and no known exploits are reported in the wild.
Potential Impact
An attacker can read arbitrary files outside the intended model directory, potentially disclosing sensitive information and enabling filesystem reconnaissance. The vulnerability requires local access (AV:L) and user interaction (UI:P), with no privileges required (PR:N). The impact on confidentiality is high, while integrity and availability are not affected.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid loading untrusted checkpoint index files to prevent exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-17T17:28:41.677Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a837219bf8831d539891c70
Added to database: 08/17/2026, 20:42:01 UTC
Last enriched: 08/17/2026, 20:57:08 UTC
Last updated: 08/18/2026, 00:41:01 UTC
Views: 4
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.