rewindex

RewindexCVEsHugging Face

CVE-2026-65920: Diffusers Path Traversal via weight_map Arbitrary File Read

Medium · CVSS 4.3 (CVSS 3.1)EPSS 0.40%, 34th percentilePublished Updated Assigner: 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.

Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N · CWE-22

Tracked companies

Hugging Face

Mapped from the CVE’s affected-product data, NVD CPE matches, vendor advisories or package feeds. A mapping means the vendor’s software is named, not that its hosted service was exposed.

Status incidents that name it

No tracked status incident names this CVE.

Affected vendors and products

huggingface: diffusers

References

All CVEsMarkdownJSON