Описание
vLLM has remote code execution vulnerability in the tool call parser for Qwen3-Coder
Summary
An unsafe deserialization vulnerability allows any authenticated user to execute arbitrary code on the server if they are able to get the model to pass the code as an argument to a tool call.
Details
vLLM's Qwen3 Coder tool parser contains a code execution path that uses Python's eval()
function to parse tool call parameters. This occurs during the parameter conversion process when the parser attempts to handle unknown data types.
This code path is reached when:
- Tool calling is enabled (
--enable-auto-tool-choice
) - The qwen3_coder parser is specified (
--tool-call-parser qwen3_coder
) - The parameter type is not explicitly defined or recognized
Impact
Remote Code Execution via Python's eval()
function.
Пакеты
vllm
>= 0.10.0, < 0.10.1.1
0.10.1.1
Связанные уязвимости
A vulnerability was found in vLLM's Qwen3 Coder tool parser. Since this parser uses Python's eval() function, it poses a risk of arbitrary code execution. This vulnerability appears during the parameter conversion process when the parser attempts to handle complex data types.