6.8medium
Hugging Face Transformers Path Traversal via Checkpoint Index
- Severity
- 6.8medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.31% (higher than 26% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- 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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| huggingface transformers | up to 5.15.0 | CVE List |
All scores
| VulnCheck | 6.8medium CVSS:4.0 | 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 |
| VulnCheck | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
Hugging Face Transformers falla al validar los nombres de archivo de fragmento en los archivos de índice de punto de control, permitiendo a los atacantes leer archivos arbitrarios fuera del directorio del modelo. Los atacantes pueden proporcionar archivos de índice maliciosos con referencias a directorios padre o rutas absolutas que se unen sin validación, habilitando la divulgación de archivos y el reconocimiento del sistema de archivos.
References
| https://github.com/huggingface/transformers/issues/47176 | exploit, issue-tracking | |
| https://github.com/huggingface/transformers/issues/47177 | issue-tracking | |
| https://github.com/huggingface/transformers | product | |
| https://github.com/huggingface/transformers/blob/main/src/transformers/utils/hub.py | technical-description | |
| https://www.vulncheck.com/advisories/hugging-face-transformers-path-traversal-via-checkpoint-index | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-75104 changed 2026-09-24 | CVE Terms of Use |
| NVD | CVE-2026-75104 changed 2026-10-23 | Public domain |