Description
vLLM is an inference and serving engine for large language models (LLMs). Prior to 0.22.0, an assert-based security check in vLLM's activation function loading allows any unauthenticated attacker to achieve arbitrary code execution on the server by publishing a malicious HuggingFace model, when vLLM runs in Python optimized mode (python -O or PYTHONOPTIMIZE=1). This vulnerability is fixed in 0.22.0.
Severity (CVSS)
| Base score | 7.5 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Provided by | CNA |
Weaknesses
- CWE-94 — CWE-94: Improper Control of Generation of Code ('Code Injection')
- CWE-617 — CWE-617: Reachable Assertion
Affected products
| Vendor | Product | Versions |
|---|---|---|
| vllm-project | vllm | < 0.22.0 |
References
- https://github.com/vllm-project/vllm/security/advisories/GHSA-q8gq-377p-jq3r (x_refsource_CONFIRM)
- https://github.com/vllm-project/vllm/commit/b3c7ffcab82c2439726f8cb213800f6f38c023d3 (x_refsource_MISC)
- https://huntr.com/bounties/dcb05b04-e625-41e7-adbc-bbae0cc2d64c (x_refsource_MISC)
Generated from the official CVE List on 23 Jun 2026 10:05 UTC.