جزئیات آسیبپذیری
CVE-2026-58474
Andyyyy64 whichllm
whichllm < 0.5.16 Code Injection via run and snippet commands
CVSS 4.0
8.6بالا
شرح رسمی (انگلیسی)
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.
امتیازهای CVSS
| امتیاز | نسخه | منبع | بردار |
|---|---|---|---|
| 8.6بالا | 4.0 | CVEProject cvelistV5 (CNA) (VulnCheck) | 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 |
| 8.8بالا | 3.1 | CVEProject cvelistV5 (CNA) (VulnCheck) | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
محصولات آسیبپذیر
| فروشنده | محصول | نسخهها | منبع |
|---|---|---|---|
| Andyyyy64 | whichllm | v < 0.5.16 | CVEProject cvelistV5 (CNA) |
منابع و راهنماها
۴- https://github.com/Andyyyy64/whichllm/releases/tag/v0.5.16 release-notes
- https://github.com/Andyyyy64/whichllm/pull/147 issue-trackingpatch
- https://github.com/Andyyyy64/whichllm/commit/77e8dc9e8b45212c694d631d758623e17a00859e patch
- https://www.vulncheck.com/advisories/whichllm-code-injection-via-run-and-snippet-commands third-party-advisory
هشدار CVEهای بعدی این محصولمحصول را دنبال کنید تا آسیبپذیریهای تازه را در تلگرام بگیرید.
اطلاعات
- تاریخ انتشار
- ۱۴۰۵/۰۶/۰۴
- آخرین بهروزرسانی
- ۱۴۰۵/۰۶/۰۷
- وضعیت
- منتشرشده
- صادرکننده (CNA)
- VulnCheck
پیشبینی بهرهبرداری (EPSS)
۰٫۸۵٪
احتمال بهرهبرداری در ۳۰ روز
۵۸٫۶٪
صدک (نسبت به همهی CVEها)
ارزیابی SSVC (CISA)
- قابل خودکارسازی
- خیر
- وضعیت بهرهبرداری
- ندارد
- اثر فنی
- کامل
ضعفها (CWE)
- CWE-94Improper Control of Generation of Code ('Code Injection')