Vulnerability

CVE-2026-65920

mediumCVSS 4.0 5.3Published 23 Jul 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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 products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /huggingface/diffusers/commit/cee298c1f37c439a9a408396b8283…
  • github.com /huggingface/diffusers/issues/14175
  • github.com /huggingface/diffusers/pull/14182
  • www.vulncheck.com /advisories/diffusers-path-traversal-via-weight-map-arbitra…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning