{"id":"CVE-2026-65920","summary":"Diffusers Path Traversal via weight_map Arbitrary File Read","details":"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.","modified":"2026-07-25T04:14:50.786696228Z","published":"2026-07-23T17:43:56.238Z","database_specific":{"cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65920.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/65xxx/CVE-2026-65920.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-65920"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/diffusers-path-traversal-via-weight-map-arbitrary-file-read"},{"type":"REPORT","url":"https://github.com/huggingface/diffusers/issues/14175"},{"type":"FIX","url":"https://github.com/huggingface/diffusers/commit/cee298c1f37c439a9a408396b8283a921238a1c6"},{"type":"FIX","url":"https://github.com/huggingface/diffusers/pull/14182"},{"type":"PACKAGE","url":"https://github.com/huggingface/diffusers"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/huggingface/diffusers","events":[{"introduced":"0"},{"fixed":"a3608b512ed7248499a44c61d954965ed9bdae4d"},{"fixed":"cee298c1f37c439a9a408396b8283a921238a1c6"}],"database_specific":{"source":["DESCRIPTION","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"0.39.0"}]}}],"versions":["v0.16.0","v0.15.0","v0.14.0","v0.13.0","v0.12.0","v0.11.0","v0.10.0","v0.9.0","v0.8.0","v0.7.0","v0.6.0","v0.5.0","v0.4.1","v0.4.0","v0.3.0","v0.2.4","v0.2.3","v0.2.2","v0.2.1","v0.2.0","0.1.3","0.1.2","0.1.1","0.1.0","v0.0.4","v0.0.3"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-65920.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}