CVE-2026-65920
published medium CVSS 4.0 · 5.3Diffusers Path Traversal via weight_map Arbitrary File Read
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| huggingface | — | diffusers0 through 0.39.0 (affected · semver) · cee298c1f37c439a9a408396b8283a921238a1c6 (unaffected · git) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.3 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| huggingface | diffusers | 0 through 0.39.0 (affected · semver)cee298c1f37c439a9a408396b8283a921238a1c6 (unaffected · git)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
4- Patch Commit https://github.com/huggingface/diffusers/commit/cee298c1f37c439a9a408396b8283a921238a1c6
- Researcher Disclosure https://github.com/huggingface/diffusers/issues/14175
- Pull Request https://github.com/huggingface/diffusers/pull/14182
- https://www.vulncheck.com/advisories/diffusers-path-traversal-via-weight-map-arbitrary-file-read
Provider assertions
2VulnCheck · cna
Diffusers Path Traversal via weight_map Arbitrary File Read
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1168bf83e2029b933598b35e2caa6caa4ab9f9371c203aa4027a20129ab0b565
- Ingested
- 23 Sep 2026, 09:26:32 UTC
- Source record
- Official CVE record