CVE-2025-59425
JSON

7.5high

vLLM vulnerable to timing attack at bearer auth

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
0.57% (higher than 48% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-wr9h-g72x-mwhmPYSEC-2026-2026

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.

Affected

Product or packageVersionsReported by
vllm-project vllm< 0.11.0rc2CVE List
vllm (PyPI)before 0.11.0GitHub Advisory Database, PyPA Advisory Database
vllm vllmbefore 0.11.0, 0.11.0NVD

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
PyPA Advisory Database7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-385

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
Summary

The API key support in vLLM performed validation using a method that was vulnerable to a timing attack. This could potentially allow an attacker to discover a valid API key using an approach more efficient than brute force.

Details

https://github.com/vllm-project/vllm/blob/4b946d693e0af15740e9ca9c0e059d5f333b1083/vllm/entrypoints/openai/api_server.py#L1270-L1274

API key validation used a string comparison that will take longer the more characters the provided API key gets correct. Data analysis across many attempts can allow an attacker to determine when it finds the next correct character in the key sequence.

Impact

Deployments relying on vLLM's built-in API key validation are vulnerable to authentication bypass using this technique.

NVD (es)

vLLM es un motor de inferencia y servicio para modelos de lenguaje grandes (LLM). Antes de la versión 0.11.0rc2, el soporte de clave API en vLLM realiza la validación utilizando un método que era vulnerable a un ataque de temporización. La validación de clave API utiliza una comparación de cadenas que tarda más cuanto más caracteres correctos obtiene la clave API proporcionada. El análisis de datos a través de muchos intentos podría permitir a un atacante determinar cuándo encuentra el siguiente carácter correcto en la secuencia de la clave. Las implementaciones que dependen de la validación de clave API integrada de vLLM son vulnerables a la omisión de autenticación utilizando esta técnica. La versión 0.11.0rc2 corrige el problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-59425 changed 2025-10-07CVE Terms of Use
GitHub Advisory DatabaseGHSA-wr9h-g72x-mwhm changed 2026-09-10CC-BY-4.0
NVDCVE-2025-59425 changed 2026-10-19Public domain
PyPA Advisory DatabasePYSEC-2026-2026 changed 2026-07-07CC-BY-4.0