vLLM: Responses API bypasses trust_request_chat_template for chat_template_kwargs
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in vllm 0.32.0.
vLLM is an inference and serving engine for large language models. From 0.16.0 until 0.32.0, the /v1/responses endpoint allows an authenticated caller to place an attacker-controlled template in chat_template_kwargs[chat_template] when no server template is configured. ChatParams.get_apply_chat_template_kwargs() preserves that value without enforcing trust_request_chat_template, so the request can bypass the intended trust policy and cause CPU or memory exhaustion through Jinja rendering. This issue is fixed in version 0.32.0.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| vllm-project | >=0.16.0 <0.32.0 | ||
| pypi: vllm | >=0.16.0 <0.32.0 | 0.32.0 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in vllm (PyPI), strongest first
Embed
A live severity badge for an advisory, README or ticket