CVE-2026-65920

published 23 Jul 2026 · updated 24 Jul 2026

Diffusers Path Traversal via weight_map Arbitrary File Read

5.3MediumCVSS 4.3EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
huggingface<=0.39.0

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-65920 severity on Zeptric[![CVE-2026-65920](https://zeptric.io/badge/cve/CVE-2026-65920.svg)](https://zeptric.io/cve/CVE-2026-65920)