PyPI: accelerate

CVE-2026-69112

Safety vulnerability ID: SFTY-20260810-08074

Affected versions of the Hugging Face Accelerate package are vulnerable to Path Traversal and Denial of Service (DoS) due to improper sanitization of `weight_map` entries in sharded checkpoint indexes. The `load_checkpoint_in_model` and `load_checkpoint_and_dispatch` functions fail to sanitize user-supplied `weight_map` entries, allowing the use of relative paths with `../` sequences or absolute paths. An attacker can exploit this by supplying crafted paths to read arbitrary files or by pointing shard entries at named pipes to cause indefinite blocking, resulting in a Denial of Service condition.

Created at: Sep 16, 2026Updated at: Sep 16, 2026

Overview

Accelerate path traversal and denial of service via sharded checkpoint weight_map entries

Advisory

accelerate – Path Traversal

Affected Package

Affecting accelerate package, versions<= 1.14.0

Also affects

---

How to Fix

We recommend updating accelerate to the latest non-vulnerable version.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more