CVE-2026-65920
Diffusers through 0.39.0, fixed in commit cee298c, contains a path …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/huggingface/diffusers/commit/cee298c1f37c439a9a408396b8283a921238a1c6
- github.com/huggingface/diffusers/issues/14175
- github.com/huggingface/diffusers/pull/14182
- www.vulncheck.com/advisories/diffusers-path-traversal-via-weight-map-arbitrary-file-read
- nvd.nist.gov/vuln/detail/CVE-2026-65920
- cve.org/CVERecord?id=CVE-2026-65920
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.