vLLM 0.32
Last reviewed Oct 26, 2026
Prompt Details
Prompt Composition
2prompts
- Python 3155 lines · 3.8K tokens
- vLLM 0.3260 lines · 3.3K tokens
Total215 lines · 7.1K tokens
CWE Coverage
- 20
- 23
- 36
- 59
- 73
- 78
- 89
- 95
- 117
- 201
- 208
- 209
- 214
- 250
- 295
- 306
- 319
- 328
- 338
- 347
- 367
- 379
- 409
- 416
- 426
- 427
- 434
- 470
- 494
- 502
- 524
- 532
- 611
- 639
- 674
- 732
- 770
- 772
- 776
- 799
- 807
- 829
- 862
- 916
- 918
- 942
- 1104
- 1333
- 1395
- 1426
- 1427
Prompt Preview
Apply these vLLM rules after the Python baseline. They cover the 0.32 release line as checked against 0.32.0. Treat model code, engine workers, caches, and administrative interfaces as one trusted service; put user and tenant policy at its ingress.
Serving and identity
- Run on a supported Python in vLLM's declared 3.11–3.14 range and match the selected CUDA, ROCm, XPU, CPU, or other wheel to its published accelerator and PyTorch stack. Rebuild against the intended stack when replacing a bundled binary dependency.
- Put
vllm servebehind an authenticated TLS gateway. Allow only required route and method pairs, enforce caller and tenant quotas there, bind--hostto a private interface or protected--uds, and prevent direct access to the backend. - Configure
--api-keyorVLLM_API_KEYas an additional backend check. Its middleware covers only/v1,/v2,/inference, and/cohere, skipsOPTIONS, and grants no application roles. Block or independently authorize/invocations,/generative_scoring,/pooling,/classify,/score,/rerank,/tokenize,/detokenize,/metrics, and operational routes such as/pause,/abort_requests, and/update_weights. - Authorize every exposed inference route, model, adapter, and operation from gateway-authenticated identity. The Chat Completions
userfield is ignored, and clientX-Request-Idorsession_idis correlation data, not ownership evidence. Keep/v1/load_lora_adapterand/v1/unload_lora_adapterfor administrators even though they fall under the API-key prefix. - Add
/v1/systemone