GHSA-x567-49g5-p4cf: vLLM: Responses API bypasses trust_request_chat_template for chat_template_kwargs
notable signal 40 vllm
OSV advisory GHSA-x567-49g5-p4cf (medium, pypi:vllm): the /v1/responses endpoint accepts request-level chat_template_kwargs but does not apply the --trust-request-chat-template gate that protects Chat Completions, render, tokenize and pooling paths. With the documented default trust_request_chat_template=False and no explicit --chat-template, a Responses request can pass chat_template_kwargs.chat_template with an attacker Jinja template, which ChatParams.get_apply_chat_template_kwargs() preserves and binds to the shared HF renderer.
Action: If you serve /v1/responses, set an explicit --chat-template and/or block request-supplied chat_template_kwargs at the gateway until the upstream gate is applied to the Responses path.
Migration effort: low
Entities: vllm
Facts
GHSA-x567-49g5-p4cf · medium · pypi:vllm
Cited
GHSA-x567-49g5-p4cf: vLLM: Responses API bypasses trust_request_chat_template for chat_template_kwargs osv · official · 2026-10-28