vLLM: Security Check Bypass via assert Statement in Activation Function Loading Allows Arbitrary Code Execution
An assert-based security check in vLLM's activation function loading can be bypassed when Python runs in optimized mode, allowing an attacker who publishes a malicious HuggingFace model to execute arbitrary code on the victim's server. The attacker-controlled function name from the model's config.json is passed to an unrestricted import function.
vllm-project/vllm
High