PyPA Advisory Database
PYSEC-2026-2300
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | vllm | All versions before 0.22.0 (fixed in 0.22.0) |
References
- https://access.redhat.com/security/cve/CVE-2026-41523
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41523.json
- https://access.redhat.com/errata/RHSA-2026:36005
- https://access.redhat.com/errata/RHSA-2026:36006
- https://huntr.com/bounties/dcb05b04-e625-41e7-adbc-bbae0cc2d64c
- https://bugzilla.redhat.com/show_bug.cgi?id=2491582
- https://github.com/vllm-project/vllm/commit/b3c7ffcab82c2439726f8cb213800f6f38c023d3
- https://github.com/vllm-project/vllm/security/advisories/GHSA-q8gq-377p-jq3r