kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-58474 whichllm < 0.5.16 Code Injection via run and snippet commands

설명

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.

영향 받는 제품 제품 1개

  • Andyyyy64

    whichllm

    해결 버전 있음

    영향 받는 버전

    • 0.5.16 미만

    해결 버전

    • 0.5.16 이상

참고 자료 4건

‹ 목록

점검 지원 범위 문의

도입 문의