Vulnerabilities in pkg:pypi/accelerate
PACKAGECVE-2026-69112 is a MODERATE (CVSS 7.1) denial of service vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Accelerate libraries in the PyPI ecosystem. The issue involves accelerate path traversal and denial of service via sharded checkpoint weight_map entries. Remediation is available in the latest vendor maintenance releases.
pkg:pypi/accelerate
Vulnerability advisories affecting package pkg:pypi/accelerate. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-4j2p-28q2-5m79 | CVE-2026-69112 | MODERATE | Accelerate path traversal and denial of service via sharded checkpoint weight_map entries |
CVE-2026-69112 at a Glance
Security Impact
CVSS: 7.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H).
How to Fix CVE-2026-69112
To remediate this vulnerability, upgrade all affected Accelerate dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install accelerate>=Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show accelerate
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-69112, inspect your installed packages using pip:
pip show accelerate
Analyze the terminal output to locate any version of Accelerate in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The pip show accelerate command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Accelerate, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-69112 Affected Accelerate Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
accelerate
|
PyPI |
≤ 1.14.0
|
|
References
Frequently Asked Questions
What is CVE-2026-69112?
Which Accelerate versions are affected?
What version fixes CVE-2026-69112?
Is accelerate affected?
What is the CVSS score of CVE-2026-69112?
What CWE is associated with CVE-2026-69112?
How can I check PyPI dependencies for CVE-2026-69112?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4j2p-28q2-5m79",
"modified" : "2026-09-08T18:45:47Z",
"published" : "2026-08-10T21:32:04Z",
"aliases" : [ "CVE-2026-69112" ],
"summary" : "Accelerate path traversal and denial of service via sharded checkpoint weight_map entries",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H"
}, {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "accelerate"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "1.14.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-69112"
}, {
"type" : "WEB",
"url" : "https://github.com/huggingface/accelerate/issues/4067"
}, {
"type" : "WEB",
"url" : "https://github.com/huggingface/accelerate/pull/4070"
}, {
"type" : "WEB",
"url" : "https://github.com/huggingface/accelerate/pull/4138"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/huggingface/accelerate"
}, {
"type" : "WEB",
"url" : "https://www.vulncheck.com/advisories/hugging-face-accelerate-path-traversal-and-dos-via-weight-map"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-09-08T18:45:47Z",
"nvd_published_at" : "2026-08-10T20:17:31Z"
}
}