Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/huggingface/diffusers/commit/cee298c1f37c439a9a408396b8283a92
- https://github.com/huggingface/diffusers/issues/14175
- https://github.com/huggingface/diffusers/pull/14182
- https://www.vulncheck.com/advisories/diffusers-path-traversal-via-weight-map-arb
FAQ
What is CVE-2026-65920?
CVE-2026-65920 is a vulnerability with a CVSS score of 4.3 (MEDIUM). 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 malici...
How severe is CVE-2026-65920?
CVE-2026-65920 has been rated MEDIUM with a CVSS base score of 4.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-65920?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.