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

CVE-2024-9053: vLLM allows Remote Code Execution by Pickle Deserialization via AsyncEngineRPCServer() RPC server entrypoints

criticalCVSS 3.0 9.8GHSA-cj47-qj6g-x7r4

vLLM 0.6.0 and earlier runs `cloudpickle.loads()` on every message received by the `AsyncEngineRPCServer()` RPC server. A message with a malicious pickle gives the sender code execution on the vLLM host. The advisory lists no patched version.

Published Mar 20, 2025 · Updated Jun 8, 2026 · Analysis Nov 1, 2026

What an attacker can do

In the RPC server entrypoint, run_server_loop() calls _make_handler_coro(), which passes the received message directly to cloudpickle.loads() with no checks. Cloudpickle, like pickle, can run arbitrary code while loading, so a crafted payload executes commands in the vLLM engine process.

The CVSS 3.0 vector (9.8) assumes network access, no privileges and no user interaction. The sources do not say how the RPC server is bound or which launch options expose it. Any client that can connect to its socket is a possible attacker. The result is code execution on the machine that holds the model weights, GPUs, API keys and often a route into the rest of your network. The advisory also lists CWE-78 (OS command injection) next to the deserialization weakness, which fits what the payload does once loaded.

Who is affected

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

pip show vllm

Check containers too. Then review whether the engine RPC socket of your server is reachable by other users or hosts, for example with ss -ltnp on the vLLM host.

vllm

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

How to fix it

The advisory lists no patched version. Look at vLLM releases newer than 0.6.0 and their notes for changes to the RPC server entrypoint. The sources give no workaround. General steps are to keep the RPC socket off untrusted networks, firewall it and run vLLM under a low-privilege account. Put the public API behind an authenticating proxy instead of exposing engine internals.

How to tell if you were hit

Check what connects to the engine RPC socket and look for connections from hosts outside the vLLM deployment. On the host, look for processes spawned by the vLLM engine that you did not expect (shells, curl, wget, nc), new outbound connections and changed files. If you find a hit, rotate secrets that the process could read.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

vllm-project vllm version 0.6.0 contains a vulnerability in the AsyncEngineRPCServer() RPC server entrypoints. The core functionality run_server_loop() calls the function _make_handler_coro(), which directly uses cloudpickle.loads() on received messages without any sanitization. This can result in remote code execution by deserializing malicious pickle data.

Questions

Which vLLM versions does CVE-2024-9053 affect?

0.6.0 and earlier. No patched version is listed in the advisory.

Is the flaw in cloudpickle or in vLLM?

In vLLM. It passes untrusted received messages to cloudpickle.loads() in _make_handler_coro(), called from run_server_loop().

Is it exploited in the wild?

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

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