whichllm < 0.5.16 Code Injection via run and snippet commands
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Andyyyy64 | whichllm | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Andyyyy64 | Whichllm |
|
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.858% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Andyyyy64
Andyyyy64 whichllm |
|
| Vendors & Products |
Andyyyy64
Andyyyy64 whichllm |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | whichllm < 0.5.16 Code Injection via run and snippet commands | |
| Weaknesses | CWE-94 | |
| References |
| |
| Metrics |
cvssV3_1
|