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.
References
Configurations
No configuration.
History
No history.
Information
Published : 2026-07-23 18:17
Updated : 2026-07-23 19:17
NVD link : CVE-2026-65920
Mitre link : CVE-2026-65920
CVE.ORG link : CVE-2026-65920
JSON object : View
Products Affected
No product.
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
