Veille CVE

‹ Retour à la liste

CVE-2026-58474

8.8 Élevée

Publiée le 26/08/2026 à 20:16 · Modifiée le 24/09/2026 à 22:43 · Analyse NVD reportée · Source : disclosure@vulncheck.com

Description

whichllm before 0.5.16 contains a code injection vulnerability in the run and snippet commands that allows a remote attacker who controls a HuggingFace repository to achieve arbitrary code execution by crafting a malicious GGUF filename containing double quotes or other special characters. The script generation function in cli.py interpolates HuggingFace-derived values, including GGUF variant filenames from the Hub API siblings rfilename field, directly into Python source code without escaping, allowing the crafted filename to break out of the generated string literal and execute injected code on the user's machine before any model download occurs.

Traduire en français

Produits concernés

Scores CVSS

VersionScoreSourceVecteur
4.0 8.6 Élevée disclosure@vulncheck.com CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
3.1 8.8 Élevée disclosure@vulncheck.com CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Faiblesses (CWE)

Références

Ailleurs