Advisory

PYSEC-2026-4349

Also known as: CVE-2026-115918, GHSA-x567-49g5-p4cf

Summary

The record has no summary.

Details

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.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2026-10-26 18:17 UTC
Modified
2026-10-29 11:00 UTC

Affected packages and fixes

vllm

PyPI · All systems

Affected

  • introduced 0.16.0, fixed 0.32.0 (ecosystem)

Fixed versions

0.32.0

Fix

  • Fixed version 0.32.0
    pip install --upgrade vllm==0.32.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences