Intel

AIKIDO-2025-10056

vllm is vulnerable to Unsafe Deserialization

Unsafe DeserializationCVE-2025-24357 Published Jan 28, 2025

75

High Risk

This Affects:

Pythonvllm
0.3.0 - 0.6.6
Fixed in 0.7.0
Are you affected? Scan for Free

TL;DR

Affected versions of this package are affected by unsafe deserialization due to the use of torch.load with the weights_only parameter set to its default value of False. This function uses pickle for deserialization, which is insecure when handling untrusted data. This vulnerability can lead to arbitrary code execution if a malicious model is loaded. An attacker could exploit this by uploading a harmful model file, affecting unsuspecting users of vLLM.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

vllm is vulnerable to Unsafe Deserialization in versions 0.3.0 - 0.6.6.

How to fix this

Upgrade the vllm library to the patch version.