PT-2026-82234 · Whichllm · Whichllm

·

CVE-2026-58474

·

Published

2026-08-26

·

Updated

2026-08-27

CVSS v3.1

8.8

High

VectorAV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions whichllm versions prior to 0.5.16
Description A code injection issue exists in the run and snippet commands. A remote attacker controlling a HuggingFace repository can 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 values derived from HuggingFace, specifically the rfilename field from the Hub API siblings, directly into Python source code without escaping. This allows 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.
Recommendations Update to version 0.5.16 or later.

Fix

Code Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-58474

Affected Products

Whichllm