VYPR
Medium severity4.3OSV Advisory· Published Jul 23, 2026· Updated Jul 23, 2026

CVE-2026-65920

CVE-2026-65920

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

2
  • Huggingface/DiffusersOSV2 versions
    v0.16.0, v0.15.0, v0.14.0, …+ 1 more
    • (no CPE)range: v0.16.0, v0.15.0, v0.14.0, …
    • (no CPE)range: <0.39.0

Patches

Vulnerability mechanics

References

4

News mentions

0

No linked articles in our index yet.