huggingface/accelerate · Security
Accelerate path traversal and denial of service via sharded checkpoint weight_map entries
- GHSA ID
- GHSA-4j2p-28q2-5m79
- CVE ID
- CVE-2026-69112
- Severity
- medium
- Published
- Updated
- CVSS
- 7.1 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
- CVSS v3
- 7.1 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
- CVSS v4
- 6.9 · CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N
Description
Hugging Face Accelerate through 1.14.0 contains a path traversal vulnerability in load_checkpoint_in_model and load_checkpoint_and_dispatch functions that fail to sanitize weight_map entries from sharded checkpoint indexes. Attackers can supply relative paths with ../ sequences or absolute paths to read arbitrary files, or point shard entries at named pipes to cause indefinite blocking and denial of service.
CWEs
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-69112 ↗
- https://github.com/huggingface/accelerate/issues/4067 ↗
- https://github.com/huggingface/accelerate/pull/4070 ↗
- https://github.com/huggingface/accelerate/pull/4138 ↗
- https://www.vulncheck.com/advisories/hugging-face-accelerate-path-traversal-and-dos-via-weight-map ↗
- https://github.com/advisories/GHSA-4j2p-28q2-5m79 ↗