vLLM deserialization vulnerability in vllm.distributed.GroupCoordinator.recv_object
The vLLM distributed training API's GroupCoordinator.recv_object() deserialises received bytes with pickle.loads() without sanitisation. An attacker who can send data to this internal API could execute arbitrary code.
github/advisory-database
Originally disclosed on huntr
vllm-project vllm version 0.6.0 contains a vulnerability in the distributed training API. The function vllm.distributed.GroupCoordinator.recv_object() deserializes received object bytes using pickle.loads() without sanitization, leading to a remote code execution vulnerability.
Maintainer perspective
Note that vLLM does NOT use the code as described in the report on huntr. The problem only exists if you use these internal APIs in a way that exposes them to a network as described. The vllm team was not involved in the analysis of this report and the decision to assign it a CVE.
From the GitHub Advisory Database (GHSA-pgr7-mhp5-fgjp, CC BY 4.0).
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
The function uses pickle.loads() on network-received bytes without any validation or safe deserialisation.
Impact
An attacker who can reach the internal distributed API could execute arbitrary code, though the maintainers note the code is not used in a network-exposed way by default.
What the attacker needed
Access to internal distributed API; ability to send crafted bytes
The fix
The internal API should not deserialise untrusted bytes with pickle; use a safe serialisation format or authenticate and restrict access.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Pickle is a Python way to turn objects into bytes and back. If a program unpickles bytes from an untrusted source, the bytes can contain instructions that run code on the machine. Here, a function that receives objects over the network unpickles them without checking, so anyone who can send it data could run their own code.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.