Deserialization of Untrusted Data in vLLM - CVE-2025-24357
Published: January 27, 2025 / Updated: May 1, 2026
vLLM
Detailed vulnerability description
The vulnerability allows a remote attacker to execute arbitrary code.
The vulnerability exists due to deserialization of untrusted data in hf_model_weights_iterator in vllm/model_executor/weight_utils.py when loading a model checkpoint downloaded from Hugging Face with torch.load. A remote attacker can supply a malicious model checkpoint to execute arbitrary code.
User interaction is required to fetch the pretrained repository remotely.