VDB
Sign up
MEDIUM5.3

PYSEC-2026-3998

Quick fix

PYSEC-2026-3998 — vllm: upgrade to the fixed version with the command below.

pip install --upgrade 'vllm>=0.29.0'

Details

vLLM before 0.29.0 validates allowed_token_ids against tokenizer length instead of model output logits width in SamplingParams._validate_allowed_token_ids(). Attackers can supply token IDs above the output vocabulary that pass validation, causing LogitBiasState to corrupt GPU logits state and allow concurrent requests to sample tokens outside their allowlists.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/vllm
Introduced in: 0Fixed in: 0.29.0
Fixpip install --upgrade 'vllm>=0.29.0'

References