vLLM: Permissive default CORS origins allow cross-origin requests to the vLLM HTTP server
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
Description
vLLM is an inference and serving engine for large language models. Prior to 0.32.0, the OpenAI-compatible server configures Starlette CORSMiddleware with allowed_origins set to a wildcard by default. A malicious web page can use a victim's browser to reach an unauthenticated vLLM server on localhost, an internal network, or a VPN, call endpoints including GET /v1/models and POST /v1/chat/completions, consume GPU resources, and read responses. Cookie-based cross-site request forgery does not apply because credentials are disabled by default, and deployments requiring bearer authentication are exposed only when the caller already has a usable token. This issue is fixed in version 0.32.0.
Text from CVE List
Affected versions 1
- vllmaffected: < 0.32.0CVE List
References 4
- github.com/vllm-project/vllm/commit/fcae5c98870ff2c20659731dce7ba3a3ff0d48aaFixvia CVE List
- github.com/vllm-project/vllm/releases/tag/v0.32.0Fixvia CVE List
- github.com/vllm-project/vllm/security/advisories/GHSA-vvpg-rrww-wpmhAdvisoryvia CVE List
- github.com/vllm-project/vllm/pull/61009Referencevia CVE List