Technical impact
LMCache’s distributed mode opens an unauthenticated ZeroMQ ROUTER socket on the default port 5555 so workers can register and share cache blocks. The server first decodes incoming MessagePack messages before executing any handler. If a payload contains Extension Code 1, DeviceIPCWrapper.Deserialize calls pickle.loads, allowing arbitrary Python code to run. An attacker can send such a crafted ZMQ DEALER message to the transport port, causing the LMCache process to execute their code. Because the official container images run as root, the attacker obtains full system privileges. The vulnerability therefore permits remote code execution without authentication.
Affected Systems
LMCache versions 0.3.9 through 0.5.5 are vulnerable when distributed mode is enabled over a routable interface and run as root. Deployments using these versions that run as non‑root or that disable distributed mode are not affected. Versions 0.5.6 and later have removed the pickle.loads vulnerability and are not affected.
Risk and Exploitability
With a CVSS score of 9.8 the flaw is critical. The EPSS score is 0.00772, indicating a very low but non‑zero exploitation probability, but the lack of authentication, combined with the default local binding on port 5555, provides an uncomplicated local exploitation path. If an operator exposes the port to external networks, remote attackers can also leverage the vulnerability. The flaw is not listed in CISA's KEV catalog, indicating no widely known public exploits, yet the conditions make it highly exploitable in practice.
Github GHSA