CVE-2026-65920
Diffusers Path Traversal via weight_map Arbitrary File Read
- State
- Published
- Severity
- 5.3 Medium
- Published
- Jul 23, 2026
- Updated
- Jul 24, 2026
- Reserved
- Jul 23, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 4.3 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N | VulnCheck |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Products
| Product | Versions |
|---|---|
diffusershuggingface |
|
References
- Researcher Disclosuretechnical-descriptionexploitissue-tracking
- Pull Requestissue-trackingpatch
- Patch Commitpatch
- https://www.vulncheck.com/advisories/diffusers-path-traversal-via-weight-map-arbitrary-file-readthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.