9.1critical
vLLM Allows Remote Code Execution via Mooncake Integration
- Severity
- 9.1critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.44% (higher than 74% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-x3m8-f7g5-qhm7PYSEC-2025-63
Description
vLLM is a high-throughput and memory-efficient inference and serving engine for LLMs. When vLLM is configured to use Mooncake, unsafe deserialization exposed directly over ZMQ/TCP on all network interfaces will allow attackers to execute remote code on distributed hosts. This is a remote code execution vulnerability impacting any deployments using Mooncake to distribute KV across distributed hosts. This vulnerability is fixed in 0.8.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| vllm-project vllm | >= 0.6.5, < 0.8.0 | CVE List |
| vllm (PyPI) | from 0.6.5 before 0.8.0, before 288ca110f68d23909728627d3100e5a8db820aa2 | GitHub Advisory Database, PyPA Advisory Database |
| vllm vllm | from 0.6.5 before 0.8.0 | NVD |
All scores
| GitHub_M | 9.1critical CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| GitHub | 9.0critical CVSS:3.1 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
What each source says
CVE List
vLLM is a high-throughput and memory-efficient inference and serving engine for LLMs. When vLLM is configured to use Mooncake, unsafe deserialization exposed directly over ZMQ/TCP on all network interfaces will allow attackers to execute remote code on distributed hosts. This is a remote code execution vulnerability impacting any deployments using Mooncake to distribute KV across distributed hosts. This vulnerability is fixed in 0.8.0.
GitHub Advisory Database
Summary
When vLLM is configured to use Mooncake, unsafe deserialization exposed directly over ZMQ/TCP will allow attackers to execute remote code on distributed hosts.
Details
- Pickle deserialization vulnerabilities are well documented.
- The mooncake pipe is exposed over the network (by design to enable disaggregated prefilling across distributed environments) using ZMQ over TCP, greatly increasing exploitability.
Further, the mooncake integration opens these sockets listening on all interfaces on the host, meaning it can not be configured to only use a private, trusted network.
Only sender_socket and receiver_ack are allowed to be accessed publicly, while the data actually decompressed by pickle.loads() comes from recv_bytes. Its interface is defined as self.receiver_socket.connect(f\"tcp://{d_host}:{d_rank_offset + 1}\"), where d_host is decode_host, a locally defined address 192.168.0.139,from mooncake.json (https://github.com/kvcache-ai/Mooncake/blob/main/doc/en/vllm-integration-v0.2.md?plain=1#L36).
- The root problem is
recv_tensor()calls_recv_implwhich passes the raw network bytes topickle.loads(). Additionally, it does not appear that there are any controls (network, authentication, etc) to prevent arbitrary users from sending this payload to the affected service.
Impact
This is a remote code execution vulnerability impacting any deployments using Mooncake to distribute KV across distributed hosts.
Remediation
This issue is resolved by https://github.com/vllm-project/vllm/pull/14228
NVD (es)
vLLM es un motor de inferencia y servicio de alto rendimiento y eficiente en el uso de memoria para LLM. Cuando vLLM se configura para usar Mooncake, la deserialización insegura expuesta directamente a través de ZMQ/TCP en todas las interfaces de red permitirá a los atacantes ejecutar código remoto en hosts distribuidos. Esta vulnerabilidad de ejecución remota de código afecta a cualquier implementación que use Mooncake para distribuir KV entre hosts distribuidos. Esta vulnerabilidad se corrigió en la versión 0.8.0.
References
| https://github.com/vllm-project/vllm/security/advisories/GHSA-x3m8-f7g5-qhm7 | advisory, vendor-advisory, web | |
| https://github.com/vllm-project/vllm/pull/14228 | issue-tracking, report, vendor-advisory, web | |
| https://github.com/vllm-project/vllm/commit/288ca110f68d23909728627d3100e5a8db820aa2 | fix, patch, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2025-29783 | advisory | |
| https://github.com/pypa/advisory-database/tree/main/vulns/vllm/PYSEC-2025-63.yaml | web | |
| https://github.com/vllm-project/vllm | package | |
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-29783 changed 2025-03-22 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-x3m8-f7g5-qhm7 changed 2026-08-07 | CC-BY-4.0 |
| NVD | CVE-2025-29783 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2025-63 changed 2025-07-01 | CC-BY-4.0 |