Skip to main content

Hugging Face Accelerate CVE-2026-69112

| EUVDEUVD-2026-55743 MEDIUM
Path Traversal (CWE-22)
2026-08-10 VulnCheck GHSA-4j2p-28q2-5m79
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious checkpoint index with traversal weight_map entries
  2. Delivery
    Distribute via public model repository or direct delivery
  3. Exploit
    Victim downloads and loads checkpoint with Accelerate
  4. Execution
    os.path.join resolves path outside checkpoint folder
  5. Impact
    Arbitrary 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Accelerate 0 ≤1.14.0

Affected Packages

pypi accelerate no fix

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

Vendor (VulnCheck) PRIMARY 6.9 MEDIUM
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
vuln.today AI 7.1 HIGH

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.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N
Red Hat 7.1 HIGH

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 7 pypi packages depend on accelerate (6 direct, 1 indirect)

Ecosystem-wide dependent count for version 1.14.0.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Medium
popular ML training library, concentrated in AI research and MLOps deployments
Exploit
POC
Public exploit code exists
Data Quality
9 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

54
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2024-3568 CRITICAL POC
9.6 Apr 10

The huggingface/transformers library is vulnerable to arbitrary code execution through deserialization of untrusted data

CVE-2026-25874 CRITICAL POC
9.3 Apr 23

Unauthenticated remote code execution in HuggingFace LeRobot (versions 0 through 0.5.1) stems from pickle.loads() being

CVE-2026-33625 HIGH POC
8.8 Sep 18

Arbitrary Python code execution in LMDeploy 0.12.1 through 0.12.2 lets an attacker who publishes a malicious model on Hu

CVE-2026-57845 HIGH POC
8.7 Oct 23

Deserialization of attacker-supplied pickle data in the deprecated pandas packaged builder of Hugging Face Datasets (all

CVE-2023-6730 HIGH POC
8.8 Dec 19

Deserialization of Untrusted Data in GitHub repository huggingface/transformers prior to 4.36. Rated high severity (CVSS

CVE-2023-7018 HIGH POC
7.8 Dec 20

Deserialization of Untrusted Data in GitHub repository huggingface/transformers prior to 4.36. Rated high severity (CVSS

CVE-2025-3262 HIGH POC
7.5 Jul 07

A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in the huggingface/transformers repository,

CVE-2025-6921 HIGH POC
7.5 Sep 23

The huggingface/transformers library, versions prior to 4.53.0, is vulnerable to Regular Expression Denial of Service (R

CVE-2026-66007 MEDIUM POC
6.9 Jul 24

Path traversal in Hugging Face Datasets up to 5.0.0 allows attackers to read arbitrary local files when a victim process

CVE-2026-63086 MEDIUM POC
6.9 Jul 16

Server-side request forgery in HuggingFace text-generation-inference through version 3.3.7 enables unauthenticated remot

CVE-2025-1194 MEDIUM POC
6.5 Apr 29

A Regular Expression Denial of Service (ReDoS) vulnerability was identified in the huggingface/transformers library, spe

CVE-2026-5241 CRITICAL
9.6 Jun 03

Remote code execution in Hugging Face Transformers 5.2.0 allows a malicious model repository to bypass the user's explic

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy