Diffusers Path Traversal via weight_map Arbitrary File Read
cve-program · CVE-2026-65920
PublishedDiffusers 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-65920 · CVE overview and exploitation status
cve-program · CVE-2026-65920
Related changes
Linked by CVE identifierNo related changes are available here.