NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · vLLM

CVE-2024-11041: vLLM Deserialization of Untrusted Data vulnerability

criticalCVSS 3.0 9.8GHSA-5vqr-wprc-cpp7

vLLM 0.6.2 and earlier calls `pickle.loads` on data received by `MessageQueue.dequeue()` in `shm_broadcast.py`. An attacker who can send a malicious payload to that message queue can run arbitrary code on the vLLM host. The advisory lists no patched version.

Published Mar 20, 2025 · Updated Mar 21, 2025 · Analysis Nov 1, 2026

What an attacker can do

vLLM's MessageQueue broadcasts messages between processes through shared memory and sockets, in vllm/distributed/device_communicators/shm_broadcast.py. The dequeue() function passes what it receives from the socket straight to pickle.loads. Pickle can run code during loading, so a crafted payload executes commands as the vLLM process.

The CVSS 3.0 vector (9.8) says network reachable, no privileges and no user interaction. In practice the attacker needs to reach the message queue socket, which is an internal channel between vLLM workers rather than the OpenAI-compatible API. The sources I read do not say how the queue is bound or in which deployment modes it is open to other hosts. Treat any deployment where that socket is reachable from untrusted networks as exposed. The result is code execution on a machine that usually has GPUs, model weights, API keys and access to internal data.

Who is affected

The vllm package on PyPI at 0.6.2 and earlier (<= 0.6.2). Check your version:

pip show vllm

For containers, run the same command in the image. Then check which interfaces the vLLM processes listen on, for example with ss -ltnp, and whether worker ports are reachable from outside the host or pod.

vllm

Ecosystem
PyPI
Affected
<= 0.6.2
Fixed in
No patched version yet
Check
pip show vllm

How to fix it

No patched version is listed in the advisory. Check the vLLM releases for a version newer than 0.6.2 and read its release notes about the message queue before relying on it. The only mitigations in the sources are general. Limit network exposure of vLLM deployments and keep untrusted clients away from the message queue. Put worker and distributed-communication ports behind a firewall or private network, and expose only the API port you need through an authenticating proxy.

How to tell if you were hit

Look for connections to vLLM worker or message queue ports from addresses that are not part of your cluster. On the vLLM host, look for child processes you did not expect (shells, curl, wget, nc) and for new outbound connections. Compare listening ports with your intended design. If you find signs of compromise, rotate any API keys and cloud credentials the host could read. Beam is not relevant to this server-side flaw.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

vllm-project vllm version v0.6.2 contains a vulnerability in the MessageQueue.dequeue() API function. The function uses pickle.loads to parse received sockets directly, leading to a remote code execution vulnerability. An attacker can exploit this by sending a malicious payload to the MessageQueue, causing the victim's machine to execute arbitrary code.

Questions

Is there a fixed vLLM version for CVE-2024-11041?

The advisory lists none. It covers 0.6.2 and earlier. Check newer vLLM releases and their notes.

Is the OpenAI-compatible API endpoint the attack path?

The advisory points at MessageQueue.dequeue(), not the HTTP API. The attacker has to send the payload to the message queue socket.

Is CVE-2024-11041 exploited in the wild?

No source says so and it is not in the KEV catalog. EPSS is 0.017.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More vLLM vulnerabilities

All vLLM entries