CVE-2026-65920
MEDIUM Exploitation: PoC
4.3
CVSS 3.1
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.
Metadata
Severity & Metrics
4.3
MEDIUM CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
SSVC — CISA Coordinator
Affected products (1)
| Vendor | Product | Platform | Versions |
|---|---|---|---|
| huggingface | diffusers | — | 0 ≤ 0.39.0, cee298c1f37c439a9a408396b8283a921238a1c6 |
Weakness (CWE)
| CWE | Source | Description |
|---|---|---|
| CWE-22 | cna | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') |
CVSS scores (2)
| Score | Severity | Version | Source | Vector |
|---|---|---|---|---|
| 5.3 | MEDIUM | 4.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 |
| 4.3 | MEDIUM | 3.1 | cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N |
References (4)
- Researcher Disclosure https://github.com/huggingface/diffusers/issues/14175
- Pull Request https://github.com/huggingface/diffusers/pull/14182
- Patch Commit https://github.com/huggingface/diffusers/commit/cee298c1f37c439a9a408396b8283a921238a1c6
- https://www.vulncheck.com/advisories/diffusers-path-traversal-via-weight-map-arbitrary-file-read