CVE-2026-65920: huggingface diffusers · Path Traversal
Affects huggingface diffusersSource CVE Database V5
Not known to be exploited · CVSS 5.3 Medium.
Data as of 5 Dec 2026, 18:47 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 27% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 23 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 6 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| huggingfacediffusers | Affected
| Fixed in– |
GitHubdiffuserspkg:github/diffusersOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available and has been implemented in the commit identified as cee298c. Users of huggingface diffusers should upgrade to a version that includes this fix (versions later than 0.39.0). Since the vendor advisory or patch links are not explicitly provided, users should consult the official huggingface diffusers repository or release notes to obtain the patched version. Until upgraded, avoid loading untrusted model index JSON files containing weight_map entries.
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.
References
- github.com/huggingface/diffusers/issues/14175 (opens in a new tab)
- github.com/huggingface/diffusers/pull/14182 (opens in a new tab)
- github.com/huggingface/diffusers/commit/cee298c1f37c439a9a408396b8283a921238a1c6 (opens in a new tab)
- vulncheck.com/advisories/diffusers-path-traversal-via-weight-map-arbitrary-file-read (opens in a new tab)