Description
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.
Metrics
CVSS 3.1 4.3/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:NWeakness enumeration
Affected software
No affected versions have been published.
Timeline
- Published
- Jul 23, 2026
- Last modified
- Oct 24, 2026
- NVD status
- Deferred