# CVE-2026-75104: Hugging Face Transformers Path Traversal via Checkpoint Index

> CVE-2026-75104: Hugging Face Transformers Path Traversal via Checkpoint Index. CVSS 5.5 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-75104
Last updated: 2026-10-23T16:10:00Z

- Published: 2026-08-17 20:36 UTC · Updated: 2026-10-23 16:10 UTC · Assigner: VulnCheck
- CVSS: 5.5 (CVSS 3.1) · Severity: Medium · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- EPSS: 0.29%, 21th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: 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.

## Affected vendors and products

- huggingface: transformers

## Tracked companies

- [Hugging Face](https://rewindex.com/company/hugging-face.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-75104)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-75104)
- [https://github.com/huggingface/transformers](https://github.com/huggingface/transformers)
- [https://github.com/huggingface/transformers/blob/main/src/transformers/utils/hub.py](https://github.com/huggingface/transformers/blob/main/src/transformers/utils/hub.py)
- [https://github.com/huggingface/transformers/issues/47176](https://github.com/huggingface/transformers/issues/47176)
- [https://github.com/huggingface/transformers/issues/47177](https://github.com/huggingface/transformers/issues/47177)
- [https://www.vulncheck.com/advisories/hugging-face-transformers-path-traversal-via-checkpoint-index](https://www.vulncheck.com/advisories/hugging-face-transformers-path-traversal-via-checkpoint-index)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-75104 · Markdown: https://rewindex.com/cve/CVE-2026-75104.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-75104 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:17:05.940Z
