5.3
Medium
CVE-2026-65920 Diffusers through 0.39.0, fixed in commit cee298c, contains a path traversal vulnerability in the…
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.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| diffusers 0.39 | earliest → 0.39.0 | No fix stated |
References
- Researcher Disclosure github.com
- Pull Request github.com
- Patch Commit github.com
- www.vulncheck.com www.vulncheck.com
Timeline
- Published
- Last modified