Skip to content
MediumVulnerability

GHSA-4j2p-28q2-5m79: Accelerate path traversal and denial of service via sharded checkpoint weight_map entries

Published
Record updated
View JSON
Affected
  • accelerate <= 1.14.0
Fixed in
No fixed version was stated when the source was last read.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Hugging Face Accelerate through 1.14.0 contains a path traversal flaw in the load_checkpoint_in_model and load_checkpoint_and_dispatch functions. These functions do not sanitize weight_map entries from sharded checkpoint indexes, so attacker-supplied relative paths with ../ sequences or absolute paths can read arbitrary files, and entries pointing at named pipes can cause indefinite blocking.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.