# CVE-2026-65920: Diffusers Path Traversal via weight\_map Arbitrary File Read

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.3
- **CVSS:** 5.3 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: Passive; Confidentiality impact: Low; Integrity impact: None; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.40% (percentile 26, 2026-11-26)
- **CWE:** CWE-22
- **Published:** 2026-07-23T17:43:56.238Z
- **Modified:** 2026-10-24T13:10:00.147Z

## Who should check

- Anyone running huggingface diffusers \<= 0.39.0

## 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.

## Affected and fixed versions

- huggingface diffusers: \<= 0.39.0 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-65920. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-65920.md
Affected: huggingface diffusers <= 0.39.0
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for huggingface diffusers: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-65920 being exploited?

There is no confirmed exploitation: CVE-2026-65920 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.40% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-65920?

Medium: CVSS 5.3 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-65920?

huggingface diffusers \<= 0.39.0.

### Is there a fix for CVE-2026-65920?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-65920?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://github.com/huggingface/diffusers/pull/14182>
- patch: <https://github.com/huggingface/diffusers/commit/cee298c1f37c439a9a408396b8283a921238a1c6>
- exploit: <https://github.com/huggingface/diffusers/issues/14175>
- other: <https://www.vulncheck.com/advisories/diffusers-path-traversal-via-weight-map-arbitrary-file-read>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-65920>

HTML: <https://flawdb.com/CVE-2026-65920> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-65920>
