VDB
Sign up
HIGH7.5

PYSEC-2026-4325

Quick fix

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

pip install --upgrade 'vllm>=0.30.0'

Details

vLLM is an inference and serving engine for large language models. Prior to 0.30.0, the Rust frontend's track_http_metrics middleware records the raw HTTP method token as a Prometheus label for requests reaching registered routes. An unauthenticated attacker can send unique arbitrary method tokens to unguarded routes such as /tokenize, causing Prometheus's Family::get_or_create function to permanently create counter and histogram label sets. Those label sets increase process memory usage and enlarge the /metrics response until the service or monitoring path is exhausted. This issue is fixed in version 0.30.0.

Are you affected?

Enter the version of the package you're using.

Affected packages

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

References