Medium severity · published Aug 17, 2026
CVE-2026-75104
Hugging Face Transformers Path Traversal via Checkpoint Index
5.5
CVSS
0.3%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 21% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
TR
transformers · huggingface
through 5.15.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-75104
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-75104
github.com
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
www.vulncheck.com
https://www.vulncheck.com/advisories/hugging-face-transformers-path-traversal-via-checkpoint-index
More from transformers
9.6
CVE-2026-5241
Policy Bypass in LightGlue Nested Config Resolution in huggingface/transformers
9.6
CVE-2024-3568
The huggingface/transformers library is vulnerable to arbitrary code execution through deserialization of untrusted data within the `load_repo_checkpoint()` function of the…
8.8
CVE-2024-11394
Hugging Face Transformers Trax Model Deserialization of Untrusted Data Remote Code Execution Vulnerability
8.8
CVE-2024-11393
Hugging Face Transformers MaskFormer Model Deserialization of Untrusted Data Remote Code Execution Vulnerability
8.8
CVE-2024-11392
Hugging Face Transformers MobileViTV2 Deserialization of Untrusted Data Remote Code Execution Vulnerability
