CVE-2026-75104
Hugging Face Transformers Path Traversal via Checkpoint Index
CVSS 4.0 6.8 MEDIUMCVSS 3.1 5.5 MEDIUMCheck source for fixed versionsKEV status unknown
cve-program · CVE-2026-75104
PublishedHugging 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-75104 · CVE overview and exploitation status
cve-program · CVE-2026-75104
- https://github.com/huggingface/transformers/issues/47176
- https://github.com/huggingface/transformers/issues/47177
- https://github.com/huggingface/transformers
- https://github.com/huggingface/transformers/blob/main/src/transformers/utils/hub.py
- https://www.vulncheck.com/advisories/hugging-face-transformers-path-traversal-via-checkpoint-index
Related changes
Linked by CVE identifierNo related changes are available here.