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.
Teams running vLLM can use this to confirm affected versions and upgrade; in multi-tenant deployments, any authenticated tenant can cause cross-tenant denial of service.