CVEvulnerability
CVE-2026-75104
6.8 MEDIUM
Official page ↗
- Status
- Awaiting Analysis
- Published
- 2026-08-17
- Last modified
- 2026-10-23
- Assigner
- [email protected]
- CVSS 4.0 ([email protected])
- 6.8 MEDIUM — 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-22
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
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://github.com/huggingface/transformers github.com
- https://github.com/huggingface/transformers/blob/main/src/transformers/utils/hub.py github.com
- https://github.com/huggingface/transformers/issues/47176 github.com
- https://github.com/huggingface/transformers/issues/47177 github.com
- https://www.vulncheck.com/advisories/hugging-face-transformers-path-traversal-via-checkpoint-index www.vulncheck.com
- https://github.com/huggingface/transformers/issues/47176 github.com