Skip to main content
VulnerabilityPublished Updated

CVE-2026-65920: huggingface diffusers · Path Traversal

Affects huggingface diffusersSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.3 Medium.

Data as of 5 Dec 2026, 18:47 UTC

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
huggingfacediffusersAffected
  • <=0.39.0
Fixed in–
GitHubdiffuserspkg:github/diffusersOther threatsAffected
  • <=0.39.0
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

Community reviews

Loading reviews…