vLLM has remote code execution vulnerability in the tool call parser for Qwen3-Coder
High8.8CVE-2025-9141 · Published Aug 21, 2025 · updated Sep 10, 2026
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| vllm PyPI | >= 0.10.0, < 0.10.1.1 | 0.10.1.1 |
Details and references
### 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](https://github.com/vllm-project/vllm/blob/main/vllm/entrypoints/openai/tool_parsers/qwen3coder_tool_parser.py) 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: 1. Tool calling is enabled (`--enable-auto-tool-choice`) 2. The qwen3_coder parser is specified (`--tool-call-parser qwen3_coder`) 3. The parameter type is not explicitly defined or recognized ### Impact Remote Code Execution via Python's `eval()` function.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-502
- Also known as
- CVE-2025-9141, PYSEC-2026-2014
More vLLM advisories
All vLLM| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Aug 212025 | vllm API endpoints vulnerable to Denial of Service Attacks CVE-2025-48956High7.5fixed in 0.10.1.1 | High7.5 | 0.10.1.1 |
| Oct 72025 | vLLM is vulnerable to timing attack at bearer auth CVE-2025-59425High7.5fixed in 0.11.0 | High7.5 | 0.11.0 |
| Oct 72025 | vLLM: Resource-Exhaustion (DoS) through Malicious Jinja Template in OpenAI-Compatible Server CVE-2025-61620Medium6.5fixed in 0.11.0 | Medium6.5 | 0.11.0 |
| Oct 72025 | vLLM is vulnerable to Server-Side Request Forgery (SSRF) through `MediaConnector` class CVE-2025-6242High7.1fixed in 0.11.0 | High7.1 | 0.11.0 |
| May 282025 | vLLM Tool Schema allows DoS via Malformed pattern and type Fields CVE-2025-48944Medium6.5fixed in 0.9.0 | Medium6.5 | 0.9.0 |
| May 282025 | vLLM allows clients to crash the openai server with invalid regex CVE-2025-48943Medium6.5fixed in 0.9.0 | Medium6.5 | 0.9.0 |