CVE-2026-65920
Beschrijving NL
Diffusers tot en met 0.39.0, gefixeerd in commit cee298c, bevat een kwetsbaarheid voor het doorlopen van paden in de functie_get_checkpoint_shard_files waarmee aanvallers willekeurige bestanden kunnen lezen door kwaadaardige weight_map-waarden te leveren in de modelindex JSON. Aanvallers kunnen../ sequenties of absolute paden in weight_map-vermeldingen gebruiken om uit de modeldirectory te ontsnappen en safetensors-bestanden buiten de beoogde locatie te lezen tijdens het laden van het model.
Origineel (Engels) tonen
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.