CVE-2026-75104
published medium CVSS 4.0 · 6.8Hugging Face Transformers Path Traversal via Checkpoint Index
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| huggingface | — | transformers0 through 5.15.0 · Other versions: unaffected | Affected | Not stated | VulnCheck |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.8 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.5 | medium | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| huggingface | transformers | 0 through 5.15.0 (affected · custom)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
5- https://github.com/huggingface/transformers
- get_checkpoint_shard_files in src/transformers/utils/hub.py https://github.com/huggingface/transformers/blob/main/src/transformers/utils/hub.py
- GitHub Issue #47176 https://github.com/huggingface/transformers/issues/47176
- GitHub Issue #47177 https://github.com/huggingface/transformers/issues/47177
- VulnCheck Advisory: Hugging Face Transformers Path Traversal via Checkpoint Index https://www.vulncheck.com/advisories/hugging-face-transformers-path-traversal-via-checkpoint-index
Provider assertions
2VulnCheck · cna
Hugging Face Transformers Path Traversal via Checkpoint Index
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0b43f22b386ca469806272a4b7ef72f276a592f79789ab9a958f2fab4fe68550
- Ingested
- 30 Sep 2026, 15:33:09 UTC
- Source record
- Official CVE record