Loading advisory.
Loading advisory.
vLLM: Permissive default CORS origins allow cross-origin requests to the vLLM HTTP server
The OpenAI-compatible server registers Starlette CORSMiddleware with allowed_origins defaulting to [""], and performs no authentication unless --api-key (or VLLM_API_KEY) is configured.
Published 2026-10-26 17:20 UTC · Modified 2026-10-31 01:38 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| vllm | PyPI | < 0.32.0 versions 0.0.1, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.10.0, 0.10.1, 0.10.1.1, 0.10.2, 0.11.0, 0.11.1, 0.11.2, 0.12.0, 0.13.0, 0.14.0, 0.14.1 and 79 more | 0.32.0 | pip install --upgrade 'vllm>=0.32.0' |
The OpenAI-compatible server registers Starlette CORSMiddleware with
allowed_origins defaulting to ["*"], and performs no authentication unless
--api-key (or VLLM_API_KEY) is configured. A web page on any origin can send
requests to a vLLM server that the victim's browser can reach (for example
localhost or an internal/VPN address) and read the responses. The default
allow_credentials=False blocks cookie-bearing cross-origin requests; because
vLLM authenticates with a bearer header rather than cookies, the wildcard still
permits untokenized access to an unauthenticated server and read access when the
caller already holds a token.
Affected components
vllm/entrypoints/launchers/cli_args.py - allowed_origins default value.
vllm/entrypoints/serve/middleware/register.py - CORSMiddleware
registration.
vllm/entrypoints/serve/middleware/authenticate.py - auth middleware and its
guarded path prefixes.
Root cause
vllm/entrypoints/launchers/cli_args.py:
allow_credentials: bool = False
"""Allow credentials."""
allowed_origins: list[str] = field(default_factory=lambda: ["*"])
"""Allowed origins."""vllm/entrypoints/serve/middleware/register.py:
app.add_middleware(
CORSMiddleware,
allow_origins=args.allowed_origins,
allow_credentials=args.allow_credentials,
allow_methods=args.allowed_methods,
allow_headers=args.allowed_headers,
)The auth middleware is added only when a token is configured and guards only the
/v1, /v2, /inference, and /cohere prefixes. /v1/load_lora_adapter and
/v1/unload_lora_adapter are inside /v1 and therefore do require a key when
one is set; they are open only when no key is configured and dynamic LoRA
updating is enabled.
A malicious page can enumerate models (GET /v1/models), issue
POST /v1/chat/completions, consume GPU time, and read model output through
the victim's browser.
When the server is reachable only from the victim's network, the browser acts as a proxy a remote website could not otherwise use.
With allow_credentials=False, cookie-based CSRF does not apply; the exposure
is cross-origin request execution and response disclosure.
This advisory was fixed in MR61009.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.003 on 2026-11-24 to 0.004 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.003 | first score | v2026.06.15 |
| 2026-11-26 | 0.004 | 0.003 | v2026.06.15 |