Skip to content
OpenAdvisories
High · 7.5 CVE-2026-41523 EUVD-2026-38406GHSA-q8gq-377p-jq3rPYSEC-2026-2300

vLLM: Security Check Bypass via assert Statement in Activation Function Loading Allows Arbitrary Code Execution

Published Jun 22, 2026 · Updated Sep 4, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
vllm-project vllm < 0.22.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI vllm < 0.22.0 0.22.0 GHSA-q8gq-377p-jq3r

Advisories 1

References