Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious checkpoint index with traversal weight_map entries
-
DeliveryDistribute via public model repository or direct delivery
-
ExploitVictim downloads and loads checkpoint with Accelerate
-
Executionos.path.join resolves path outside checkpoint folder
-
ImpactArbitrary file read leaks sensitive data or named pipe blocks process indefinitely
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The victim must invoke load_checkpoint_in_model or load_checkpoint_and_dispatch on a malicious or corrupted sharded checkpoint index - this is the UI:P passive-user-interaction condition in the CVSS 4.0 vector. The checkpoint index must contain weight_map entries using ../ relative paths, absolute paths, or named pipe paths. No authentication or elevated OS privileges are required; exploitation runs entirely within the permissions of the process loading the checkpoint. Organizations that exclusively load internally produced checkpoints from fully controlled sources and never ingest third-party or public models are not exposed to the supply chain attack path. The named-pipe DoS variant additionally requires that the target filesystem support FIFO files, which excludes some restricted or non-POSIX environments. No special network service exposure or listening port is involved. |
| Impact | The CVSS 4.0 score of 6.9 with vector AV:L/AC:L/AT:N/PR:N/UI:P reflects a local attack requiring passive user interaction - loading the checkpoint - with no system-level privileges needed and high confidentiality and availability impact. The local attack vector (AV:L) constrains opportunistic scanning, but in ML workflows the 'local' condition is routinely satisfied the moment a practitioner downloads a public checkpoint from Hugging Face Hub or any model registry, making the effective exposure meaningfully higher than AV:L alone implies. EPSS data was not provided in the available intelligence, so exploitation probability cannot be quantified from that signal; however, a publicly available proof-of-concept on GitHub significantly lowers the exploitation barrier. No CISA KEV listing exists at time of analysis, so confirmed at-scale exploitation is unverified, but even a mid-sized ML infrastructure team in walbrzych running routine model evaluations would face tangible supply chain risk given how routinely practitioners load third-party checkpoints without inspecting index contents. There is no signal conflict between the CVSS vector and the description - both consistently indicate a local, low-complexity, no-privileges attack requiring one user action. |
| Exploit ScenarioDerived | An attacker publishes a malicious model checkpoint on Hugging Face Hub or a similar model registry, crafting the weight_map index so shard filenames contain entries like ../../etc/shadow or /proc/self/environ. When a developer calls load_checkpoint_in_model() - a routine step in model evaluation or fine-tuning - Accelerate opens and reads the targeted file as if it were model weights, leaking its contents into the process. A publicly available proof-of-concept at GitHub issue #4067 demonstrates this path traversal technique against the unpatched library. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 10, 2026
Path traversal in Hugging Face Accelerate through 1.14.0 exposes two distinct attack outcomes when a user loads a crafted sharded checkpoint: sensitive file disclosure via relative (../) or absolute path entries in the weight_map index, and indefinite process blocking via named pipe references enabling denial of service. A publicly available proof-of-concept exists at GitHub issue #4067, reported by VulnCheck. With no system-level privileges required (PR:N per CVSS 4.0), this is a supply chain risk for any ML practitioner who loads untrusted model checkpoints - particularly from public model registries - without needing any foothold on the target system beyond delivering the malicious checkpoint.
RemediationAI
Upstream fixes are available in GitHub PRs #4070 (https://github.com/huggingface/accelerate/pull/4070) and #4138 (https://github.com/huggingface/accelerate/pull/4138). PR #4070 adds path validation in load_checkpoint_in_model that resolves each shard path with os.path.abspath and rejects any entry that does not start with checkpoint_folder_abs, raising a ValueError before any file is opened. No tagged Accelerate release version incorporating these fixes is confirmed from the provided data - users must monitor the official Accelerate releases page and the VulnCheck advisory at https://www.vulncheck.com/advisories/hugging-face-accelerate-path-traversal-and-dos-via-weight-map for a confirmed patched version. As an immediate compensating control, audit weight_map entries in any third-party checkpoint index file before loading - reject entries containing ../ sequences, leading slashes, or paths pointing outside the checkpoint directory. Running checkpoint loading inside a container with a read-only bind-mount limited to the checkpoint directory eliminates the file-read vector but does not eliminate the named-pipe DoS unless the sandbox also restricts FIFO access.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Hugging Face Accelerate is a Python library abstracting multi-GPU and distributed training for PyTorch and other frameworks. Sharded checkpoint loading - splitting large model weights across multiple shard files - is coordinated through an index file (e.g., model.safetensors.index.json) whose weight_map field maps parameter names to shard filenames. The functions load_checkpoint_in_model and load_checkpoint_and_dispatch read this index and open each listed shard using os.path.join(checkpoint_folder, shard_file). Prior to the fix in PR #4070, no validation confirmed that the resolved path remained inside checkpoint_folder, instantiating CWE-22 (Improper Limitation of a Pathname to a Restricted Directory). Python's os.path.join silently discards preceding components when an absolute path segment is encountered, and ../ sequences are resolved by the OS - both enabling directory escape. A second attack surface exists when shard entries point to named pipes (FIFOs), causing open() to block indefinitely and denying service. The affected CPE is cpe:2.3:a:huggingface:accelerate:*:*:*:*:*:*:*:*, covering all Accelerate versions through 1.14.0.
Know when Hugging Face gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Local vector because the malicious checkpoint must be on-disk; PR:N since no OS credentials are needed; UI:R for the required checkpoint-load action; C:H and A:H for file-read and DoS; I:N as no write primitive exists in the described behavior.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Blast Radius
ecosystem impact- 7 pypi packages depend on accelerate (6 direct, 1 indirect)
Ecosystem-wide dependent count for version 1.14.0.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Hugging Face
View allThe huggingface/transformers library is vulnerable to arbitrary code execution through deserialization of untrusted data
Unauthenticated remote code execution in HuggingFace LeRobot (versions 0 through 0.5.1) stems from pickle.loads() being
Arbitrary Python code execution in LMDeploy 0.12.1 through 0.12.2 lets an attacker who publishes a malicious model on Hu
Deserialization of attacker-supplied pickle data in the deprecated pandas packaged builder of Hugging Face Datasets (all
Deserialization of Untrusted Data in GitHub repository huggingface/transformers prior to 4.36. Rated high severity (CVSS
Deserialization of Untrusted Data in GitHub repository huggingface/transformers prior to 4.36. Rated high severity (CVSS
A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the huggingface/transformers repository,
The huggingface/transformers library, versions prior to 4.53.0, is vulnerable to Regular Expression Denial of Service (R
Path traversal in Hugging Face Datasets up to 5.0.0 allows attackers to read arbitrary local files when a victim process
Server-side request forgery in HuggingFace text-generation-inference through version 3.3.7 enables unauthenticated remot
A Regular Expression Denial of Service (ReDoS) vulnerability was identified in the huggingface/transformers library, spe
Remote code execution in Hugging Face Transformers 5.2.0 allows a malicious model repository to bypass the user's explic
EUVD-2026-55743
GHSA-4j2p-28q2-5m79
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB