CVE-2024-11041: vLLM Deserialization of Untrusted Data vulnerability
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 vllmFor 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
Read for this analysis:
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 entriesCVE-2026-115911
vLLM: DoS via unbounded chat_template Jinja2 rendering exhausts the renderer thread pool
medium6.5Oct 28, 2026CVE-2026-115912
vLLM: Public multimodal SHM handle forgery reaches worker-side `pickle.loads()` with insecure serialization disabled
high7.5Oct 28, 2026CVE-2026-115913
vLLM: Phi-4 multimodal audio encoder materializes and retains full attention matrices: a single max-length audio OOM-crashes the vLLM engine
medium6.5Oct 28, 2026CVE-2026-115914
vLLM DeepSeek-OCR image processing vulnerable to denial of service
medium6.5Oct 28, 2026CVE-2026-115915
vLLM: Untrusted EPS inputs can trigger denial of service or Ghostscript RCE
high8.1Oct 28, 2026CVE-2026-115916
vLLM: Out-of-vocabulary prompt token id passes input validation and triggers a CUDA device-side assert (engine crash / DoS)
medium6.5Oct 28, 2026
