Code Injection in vLLM - CVE-2026-41523
Published: July 2, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to code injection in the activation function loading logic in vllm/model_executor/layers/pooler/activations.py when loading a crafted HuggingFace model configuration while Python optimized mode disables the assert-based security check. A remote attacker can publish a malicious model with a crafted config.json to execute arbitrary code.
User interaction is required to load the malicious model, and exploitation requires Python optimized mode and a cross-encoder architecture.