vLLM chat template rendering unbounded, leading to denial-of-service vulnerability
Start here
vLLM published a security advisory (GHSA-542m-9234-8gvf, CVE-2026-115911): although Jinja2 rendering of chat templates runs in a sandbox that prevents code-execution escapes, there is no wall-clock timeout, no output size limit and no nested-loop limit, the rendering thread pool's max_workers defaults to 1, and CPython worker threads cannot be interrupted. An attacker need only submit an authenticated request of under 100 bytes to permanently disable all chat-type endpoints such as /v1/chat/completions, /v1/responses and /tokenize until the process is restarted.
Generated by AI from reports · Updated 29 days ago
Storyline
- · 1 reports· Attention40vLLM fixes EngineCore denial of service caused by overly loose cache_salt validation
- · 1 reports· Attention44A vLLM structured output vulnerability can bring down the engine
- · 1 reports· Attention34vLLM GLMGA video sampling vulnerability can exhaust CPU and memory
- · 2 reports· Attention44vLLM multimodal processor input validation insufficiency leads to denial of service
- · 1 reports· Attention42vLLM multimodal processor fails to validate parameters, causing DoS, fixed
- · 2 reports· Attention43
vLLM chat template rendering unbounded, leading to denial-of-service vulnerabilityThis event
- · 2 reports· Attention46A single PNG request can take down vLLM's DeepSeek-OCR service
- · 1 reports· Attention40vLLM Phi-4 audio encoder OOM vulnerability causes service crash
Progress timeline
- GitHub Security AdvisoriesSelectedvLLM denial-of-service vulnerability: unbounded chat_template Jinja2 rendering exhausts the rendering thread pool
vLLM released a security advisory (GHSA-542m-9234-8gvf, CVE-2026-115911): Jinja2 rendering of chat_template has no wall-clock timeout, output size limit, or loop limit; the rendering thread pool max_workers defaults to 1, and CPython worker threads cannot be interrupted, so a single authenticated request of under 100 bytes can permanently disable all chat-type endpoints such as /v1/chat/completions, /v1/responses, and /tokenize until the process is restarted; the string-multiplication variant kills the API-server process via OOM, and in multi-tenant deployments any tenant can cause cross-tenant denial of service. Versions 0.19.0 and above and before 0.32.0 are affected; fixed in MR50300 and released with 0.32.0.
- vllm-project/vllmSelectedvLLM unbounded chat template Jinja2 rendering exhausts the rendering thread pool, causing denial of service
Security advisory GHSA-542m-9234-8gvf (CVE-2026-115911) disclosed a denial-of-service vulnerability in vLLM: a single authenticated request can make all chat-type endpoints permanently unavailable until the process is restarted. The cause is that although Jinja2 rendering of chat templates takes place in a sandbox and can prevent code-execution escape, there is no wall-clock timeout, output size limit or nested loop limit; the rendering thread pool max_workers defaults to 1 and CPython threads are not interruptible. An attacker can submit a template of less than 100 bytes to hang endpoints such as /v1/chat/completions, /v1/responses and /tokenize; in multi-tenant deployments, any tenant can cause cross-tenant denial of service; a string-multiplication variant will OOM-kill the API server process. Versions 0.19.0 and above and before 0.32.0 are affected, and it has been fixed in 0.32.0.