CVE-2026-65920: Diffusers Path Traversal via weight_map Arbitrary File Read
Medium · CVSS 4.3 (CVSS 3.1)EPSS 0.40%, 34th percentilePublished Updated Assigner: VulnCheck
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.
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N · CWE-22
Tracked companies
Mapped from the CVE’s affected-product data, NVD CPE matches, vendor advisories or package feeds. A mapping means the vendor’s software is named, not that its hosted service was exposed.
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
huggingface: diffusers
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- github.com/huggingface/diffusers/commit/cee298c1f37c439a9a408396b8283a921238a1c6 (opens in new tab)
- github.com/huggingface/diffusers/issues/14175 (opens in new tab)
- github.com/huggingface/diffusers/pull/14182 (opens in new tab)
- www.vulncheck.com/advisories/diffusers-path-traversal-via-weight-map-arbitrary-file-rea… (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)