Code Injection in vLLM - CVE-2026-41523

 

Code Injection in vLLM - CVE-2026-41523

Published: July 2, 2026


Vulnerability identifier: #VU136796
CSH Severity: Medium
CVSS v4: 7.1 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-41523
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

vLLM

How to mitigate CVE-2026-41523

Install security update from vendor's website.

vLLM - update to 0.22.0

External References

Related Security Bulletins