Skip to content
EventPast event

vLLM chat template rendering unbounded, leading to denial-of-service vulnerability

2 reports2 reporting sourcesLatest report

Start here

AI overview

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

Developments on the same subject and issue, from earliest to latest

8 events
  1. · 1 reports· Attention40
    vLLM fixes EngineCore denial of service caused by overly loose cache_salt validation
  2. · 1 reports· Attention44
    A vLLM structured output vulnerability can bring down the engine
  3. · 1 reports· Attention34
    vLLM GLMGA video sampling vulnerability can exhaust CPU and memory
  4. · 2 reports· Attention44
    vLLM multimodal processor input validation insufficiency leads to denial of service
  5. · 1 reports· Attention42
    vLLM multimodal processor fails to validate parameters, causing DoS, fixed
  6. · 2 reports· Attention43

    vLLM chat template rendering unbounded, leading to denial-of-service vulnerabilityThis event

  7. · 2 reports· Attention46
    A single PNG request can take down vLLM's DeepSeek-OCR service
  8. · 1 reports· Attention40
    vLLM Phi-4 audio encoder OOM vulnerability causes service crash

Progress timeline

Oct 29
  1. GitHub Security AdvisoriesSelected
    vLLM 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.

Oct 20
  1. vllm-project/vllmSelected
    vLLM 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.