vLLM vulnerable to timing attack at bearer auth
Description
vLLM is an inference and serving engine for large language models (LLMs). Before version 0.11.0rc2, the API key support in vLLM performs validation using a method that was vulnerable to a timing attack. API key validation uses a string comparison that takes longer the more characters the provided API key gets correct. Data analysis across many attempts could allow an attacker to determine when it finds the next correct character in the key sequence. Deployments relying on vLLM's built-in API key validation are vulnerable to authentication bypass using this technique. Version 0.11.0rc2 fixes the issue.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
vllmPyPI | < 0.11.0 | 0.11.0 |
Affected products
7- osv-coords6 versionspkg:apk/chainguard/py3.10-vllm-cuda-12.4pkg:apk/chainguard/py3.12-vllm-cuda-12.4pkg:apk/chainguard/py3-vllm-cuda-12.4pkg:apk/chainguard/tritonserver-backend-vllm-cuda-12.9pkg:apk/chainguard/tritonserver-backend-vllm-meta-cuda-12.9pkg:pypi/vllm
< 0.11.0-r2+ 5 more
- (no CPE)range: < 0.11.0-r2
- (no CPE)range: < 0.11.0-r2
- (no CPE)range: < 0.11.0-r2
- (no CPE)range: < 25.9.0_git20251016-r0
- (no CPE)range: < 25.9.0_git20251016-r0
- (no CPE)range: < 0.11.0
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-wr9h-g72x-mwhmghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-59425ghsaADVISORY
- github.com/vllm-project/vllm/blob/4b946d693e0af15740e9ca9c0e059d5f333b1083/vllm/entrypoints/openai/api_server.pyghsax_refsource_MISCWEB
- github.com/vllm-project/vllm/commit/ee10d7e6ff5875386c7f136ce8b5f525c8fcef48ghsax_refsource_MISCWEB
- github.com/vllm-project/vllm/releases/tag/v0.11.0ghsax_refsource_MISCWEB
- github.com/vllm-project/vllm/security/advisories/GHSA-wr9h-g72x-mwhmghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.