Arbitrary Code Execution Vulnerability in vLLM Library
CVE-2025-24357
8.8HIGH
What is CVE-2025-24357?
The vLLM library, used for large language model inference and serving, is susceptible to an arbitrary code execution vulnerability. This arises from the usage of the torch.load
function while attempting to load user-provided model checkpoints, which may include malicious pickle data. The hf_model_weights_iterator
implementation in vllm/model_executor/weight_utils.py
defaults the weights_only
parameter to False, allowing the execution of arbitrary code during unpickling. This security issue has been addressed in version 0.7.0 of vLLM.
Affected Version(s)
vllm < 0.7.0