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

CVE-2025-30202: Data exposure via ZeroMQ on multi-node vLLM deployment

highCVSS 3.1 7.5GHSA-9f8f-2vmf-885j

In multi-node vLLM deployments, the primary host binds a ZeroMQ `XPUB` socket to all interfaces. Anyone who can reach it can read the broadcast data, or connect many times without reading and stall the publisher. Affects 0.5.2 up to 0.8.5. Fixed in vLLM 0.8.5.

Published Apr 29, 2025 · Updated Jul 17, 2026 · Analysis Nov 1, 2026

What an attacker can do

The socket is created in vllm/distributed/device_communicators/shm_broadcast.py. It is always opened in a multi-node deployment, but it carries data only when tensor parallelism runs across hosts. The advisory traced what flows over it: metadata about tensors, from the V0 worker_base.py path. The tensors themselves go through torch.distributed. The advisory calls this internal vLLM state that is not useful to an attacker, so the data exposure is minor.

The real risk is availability. An attacker can connect many times and never read what is published, which slows or blocks the publisher. That stalls inference on the cluster. The CVSS vector reflects this: network access, no privileges, no user interaction and high availability impact, with no confidentiality or integrity impact. The socket's port is random, so the attacker has to find it first, for example with a port scan of the host. The title says data exposure, but the CWE is resource allocation without limits.

Who is affected

Affected: vLLM from 0.5.2 up to but not including 0.8.5, in multi-node deployments. Check:

pip show vllm

Single-host deployments open no such exposure in practice, since the socket carries data only for tensor parallelism across hosts.

vllm

Ecosystem
PyPI
Affected
>= 0.5.2, < 0.8.5
Fixed in
0.8.5
Check
pip show vllm

How to fix it

Upgrade to vLLM 0.8.5:

pip install --upgrade vllm==0.8.5

The fix is in pull request 17197. The advisory gives two workarounds for earlier versions: do not expose the vLLM host to networks where untrusted connections can reach it, and allow only the other vLLM hosts to connect to the TCP port used by the XPUB socket. That port is random, so firewall by source address on the whole cluster network.

How to tell if you were hit

List the listening ports of the primary vLLM process and check which are reachable from outside the cluster. Look for many open connections to one of those ports from addresses that are not your vLLM hosts. Watch for inference latency spikes with no change in load. The advisory lists no log line.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Impact

In a multi-node vLLM deployment, vLLM uses ZeroMQ for some multi-node communication purposes. The primary vLLM host opens an XPUB ZeroMQ socket and binds it to ALL interfaces. While the socket is always opened for a multi-node deployment, it is only used when doing tensor parallelism across multiple hosts.

Any client with network access to this host can connect to this XPUB socket unless its port is blocked by a firewall. Once connected, these arbitrary clients will receive all of the same data broadcasted to all of the secondary vLLM hosts. This data is internal vLLM state information that is not useful to an attacker.

By potentially connecting to this socket many times and not reading data published to them, an attacker can also cause a denial of service by slowing down or potentially blocking the publisher.

Detailed Analysis

The XPUB socket in question is created here:

https://github.com/vllm-project/vllm/blob/c21b99b91241409c2fdf9f3f8c542e8748b317be/vllm/distributed/device_communicators/shm_broadcast.py#L236-L237

Data is published over this socket via MessageQueue.enqueue() which is called by MessageQueue.broadcast_object():

https://github.com/vllm-project/vllm/blob/790b79750b596043036b9fcbee885827fdd2ef3d/vllm/distributed/device_communicators/shm_broadcast.py#L452-L453

https://github.com/vllm-project/vllm/blob/790b79750b596043036b9fcbee885827fdd2ef3d/vllm/distributed/device_communicators/shm_broadcast.py#L475-L478

The MessageQueue.broadcast_object() method is called by the GroupCoordinator.broadcast_object() method in parallel_state.py:

https://github.com/vllm-project/vllm/blob/790b79750b596043036b9fcbee885827fdd2ef3d/vllm/distributed/parallel_state.py#L364-L366

The broadcast over ZeroMQ is only done if the GroupCoordinator was created with use_message_queue_broadcaster set to True:

https://github.com/vllm-project/vllm/blob/790b79750b596043036b9fcbee885827fdd2ef3d/vllm/distributed/parallel_state.py#L216-L219

The only case where GroupCoordinator is created with use_message_queue_broadcaster is the coordinator for the tensor parallelism group:

https://github.com/vllm-project/vllm/blob/790b79750b596043036b9fcbee885827fdd2ef3d/vllm/distributed/parallel_state.py#L931-L936

To determine what data is broadcasted to the tensor parallism group, we must continue tracing. GroupCoordinator.broadcast_object() is called by GroupCoordinator.broadcoast_tensor_dict():

https://github.com/vllm-project/vllm/blob/790b79750b596043036b9fcbee885827fdd2ef3d/vllm/distributed/parallel_state.py#L489

which is called by broadcast_tensor_dict() in communication_op.py:

https://github.com/vllm-project/vllm/blob/790b79750b596043036b9fcbee885827fdd2ef3d/vllm/distributed/communication_op.py#L29-L34

If we look at _get_driver_input_and_broadcast() in the V0 worker_base.py, we'll see how this tensor dict is formed:

https://github.com/vllm-project/vllm/blob/790b79750b596043036b9fcbee885827fdd2ef3d/vllm/worker/worker_base.py#L332-L352

but the data actually sent over ZeroMQ is the metadata_list portion that is split from this tensor_dict. The tensor parts are sent via torch.distributed and only metadata about those tensors is sent via ZeroMQ.

https://github.com/vllm-project/vllm/blob/54a66e5fee4a1ea62f1e4c79a078b20668e408c6/vllm/distributed/parallel_state.py#L61-L83

Patches

  • https://github.com/vllm-project/vllm/pull/17197

Workarounds

Prior to the fix, your options include:

  1. Do not expose the vLLM host to a network where any untrusted connections may reach the host.
  2. Ensure that only the other vLLM hosts are able to connect to the TCP port used for the XPUB socket. Note that port used is random.

References

  • Relevant code first introduced in https://github.com/vllm-project/vllm/pull/6183

Credited to russellb, kexinoh.

Questions

Does this leak prompts or model outputs?

The advisory says no. The ZeroMQ socket carries metadata about tensors, and the tensors travel over torch.distributed. It calls the exposed data internal state that is not useful to an attacker.

What can an attacker actually do?

Connect many times without reading, so the publisher slows or blocks. That is a denial of service. The CVSS vector rates availability high and the other impacts none.

Is a single-node vLLM server affected?

The advisory describes multi-node deployments, where the socket carries data only for tensor parallelism across hosts. Upgrade to 0.8.5 anyway, since the vulnerable range covers all 0.5.2 to 0.8.4 releases.

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