CVE-2026-75104
Received Received - Intake

Hugging Face Transformers File Disclosure via Shard Path Traversal

Vulnerability report for CVE-2026-75104, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-17

Last updated on: 2026-08-17

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-17
Last Modified
2026-08-17
Generated
2026-08-18
AI Q&A
2026-08-18
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
hugging_face transformers *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

Hugging Face Transformers does not properly check shard filenames in checkpoint index files. Attackers can create malicious index files with paths that reference parent directories or absolute paths. When processed, these paths allow reading arbitrary files outside the intended model directory, leading to unauthorized file access and potential system reconnaissance.

Impact Analysis

This vulnerability could allow attackers to access sensitive files on your system, including configuration files, source code, or other confidential data stored outside the model directory. If you use Hugging Face Transformers in your environment, an attacker might exploit this to steal information or map your filesystem for further attacks.

Compliance Impact

This vulnerability could lead to unauthorized data access, potentially violating GDPR (data protection) or HIPAA (health information privacy) by exposing personal or sensitive data. Organizations using affected versions may face compliance breaches, legal penalties, or reputational damage if exploited.

Mitigation Strategies

Review and validate all checkpoint index files in Hugging Face Transformers to ensure they do not contain malicious shard filenames with parent-directory references or absolute paths. Remove any untrusted or suspicious index files.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-75104. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart