CVE-2026-65920CWE-22

Diffusers Path Traversal via weight_map Arbitrary File Read

Medium · published July 23, 2026

CVSS v4.0
5.3
EPSS
0%
Percentile
32.8
In the wild
Unconfirmed
What it is

Diffusers through 0.39.0, fixed in commit cee298c, contains a path traversal vulnerability in the _get_checkpoint_shard_files function that allows attackers to read arbitrary files by supplying malicious weight_map values in model index JSON. Attackers can use ../ sequences or absolute paths in weight_map entries to escape the model directory and read safetensors files outside the intended location during model loading.

The record
Technical detail
CVSS v4.0
5.3 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS
0.00398 · 32.8th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-07-23T17:43Z
EPSS history
Timeline
  • 23 JUL 17:43Z
    Diffusers Path Traversal via weight_map Arbitrary File Read
    cvelistv5