# PYSEC-2026-4349: vLLM is an inference and serving engine for large language models

- Database: PyPA
- Published: 2026-10-26
- Modified: 2026-10-29

## Tracked as

- [CVE-2026-115918](https://cve.now/CVE-2026-115918.md): vLLM: Responses API bypasses trust\_request\_chat\_template for chat\_template\_kwargs

## Also published as

- [GHSA-X567-49G5-P4CF](https://cve.now/GHSA-X567-49G5-P4CF.md) (GitHub)

## Affected versions

- vllm (PyPI): from 0.16.0, fixed in 0.32.0

## Description

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.

## References

- https://github.com/vllm-project/vllm/releases/tag/v0.32.0
- https://github.com/vllm-project/vllm/commit/cff08b461e086523cee8bba5bd3c66d302625134
- https://github.com/vllm-project/vllm/pull/50300
- https://github.com/vllm-project/vllm/security/advisories/GHSA-x567-49g5-p4cf

Page: https://cve.now/PYSEC-2026-4349

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
