CVE-2026-65920Diffusers Path Traversal via weight_map Arbitrary File Read
Beschreibung
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.
Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.
Betroffene Produkte und Versionen
| Hersteller | Produkt | Versionen | |
|---|---|---|---|
| huggingface | diffusers | ≤ 0.39.0 |
Referenzen und Patches
- Researcher Disclosure technical-descriptionexploitissue-tracking
- Pull Request issue-trackingpatch
- Patch Commit patch
- https://www.vulncheck.com/advisories/diffusers-path-traversal-via-weight-map-arbitrary-file-read third-party-advisory