Skip to main content
Vulnerability Database/CVE-2026-105192

CVE-2026-105192: LMCache Unauthenticated RCE Vulnerability

CVE-2026-105192 is an unauthenticated remote code execution vulnerability in LMCache multiprocess mode that exploits insecure pickle deserialization via ZeroMQ. This article covers technical details, impact analysis, and mitigation.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-105192 Overview

CVE-2026-105192 is an unauthenticated remote code execution vulnerability in LMCache multiprocess (distributed) mode. The service opens a ZeroMQ ROUTER socket on TCP port 5555 so worker processes can register and share key-value cache blocks. Messages are msgpack-encoded, and extension code 1 is routed to DeviceIPCWrapper.Deserialize, which calls pickle.loads on attacker-controlled bytes. A single DEALER message to the transport port executes arbitrary code before any handler validates the request. Official container images run the LMCache process as root, and operators who set --host for multi-node deployments expose the port beyond localhost.

Critical Impact

A single unauthenticated TCP message to port 5555 yields code execution as the LMCache process user, which is root in the official container images.

Affected Products

  • LMCache distributed/multiprocess mode (reference files at lmcache/v1/multiprocess/custom_types.py in v0.3.9 and lmcache/v1/platform/base/ipc_wrapper.py in v0.5.5)
  • Official LMCache container images that run the service as root
  • Multi-node LMCache deployments that bind the transport to a routable address via --host

Discovery Timeline

  • 2026-10-07 - CVE-2026-105192 published to the National Vulnerability Database (NVD)
  • 2026-10-07 - Last updated in NVD database

Technical Details for CVE-2026-105192

Vulnerability Analysis

LMCache implements inter-process communication for distributed KV cache sharing over ZeroMQ. In multiprocess mode, the main process binds a ROUTER socket to port 5555 and expects worker processes to connect with DEALER sockets. The protocol does not include authentication, message signing, or peer validation. Any client that can reach the port can send a well-formed message that the server will process.

The wire format uses msgpack with custom extension types. Extension code 1 is dispatched to DeviceIPCWrapper.Deserialize, which calls Python's pickle.loads on the payload. Pickle deserialization of untrusted input is a well-known arbitrary code execution primitive, mapped to insecure deserialization. The dispatch happens during argument decoding, before the request handler executes, so the vulnerability is reachable without a valid method name or session.

Root Cause

The root cause is Missing Authentication for a Critical Function [CWE-306] combined with insecure deserialization of attacker-controlled msgpack extension payloads through pickle.loads. The IPC transport trusts any peer that can establish a TCP connection to the ROUTER socket.

Attack Vector

An attacker who can reach TCP port 5555 on an LMCache node sends a single ZeroMQ DEALER frame containing a msgpack message with extension type 1. The embedded pickle payload executes arbitrary Python during deserialization. In the default container image the process runs as root, giving the attacker container-root code execution. When operators set --host to a routable address for multi-node clusters, the socket becomes reachable across the network segment where peers connect.

No exploitation code is reproduced here. Technical details are documented in the LMCache custom types source and the LMCache IPC wrapper source.

Stop Remote Code Execution Before It Runs

Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.

Stop Exploit Attempts

Detection Methods for CVE-2026-105192

Indicators of Compromise

  • Unexpected inbound TCP connections to port 5555 from hosts that are not registered LMCache workers.
  • Child processes of the LMCache Python interpreter that invoke sh, bash, curl, wget, python -c, or other interactive shells.
  • Outbound network connections initiated by the LMCache process to attacker infrastructure shortly after an inbound connection to port 5555.
  • New files written to /tmp, /dev/shm, or the LMCache working directory that are not part of normal cache artifacts.

Detection Strategies

  • Alert on any accept() on the LMCache transport port from source addresses outside the documented worker allow list.
  • Monitor for pickle.loads call stacks originating from DeviceIPCWrapper.Deserialize using Python audit hooks (sys.addaudithook) where feasible.
  • In containerized deployments, flag process executions inside the LMCache container other than the expected Python entrypoint.

Monitoring Recommendations

  • Capture process-execution and network telemetry from hosts running LMCache and forward to a centralized analytics backend for correlation.
  • Baseline the set of peer IPs that legitimately connect to port 5555 and alert on deviations.
  • Review container runtime logs for new processes spawned by the LMCache container, particularly those that spawn shells or network tools.

How to Mitigate CVE-2026-105192

Immediate Actions Required

  • Restrict network access to TCP port 5555 on every host running LMCache to the specific IP addresses of trusted worker nodes.
  • Revert --host to localhost (127.0.0.1) wherever multi-node operation is not strictly required.
  • Stop running the LMCache container as root; set a non-privileged USER in the image or override at runtime.
  • Audit for signs of prior exploitation using the indicators listed above.

Patch Information

No fixed version is listed in the NVD entry at publication. Monitor the LMCache GitHub repository and the LMCache PyPI package for a security release that removes pickle.loads from the IPC path or adds authenticated transport such as ZeroMQ CURVE.

Workarounds

  • Place LMCache transport traffic on a dedicated private network segment with host firewall rules (iptables, nftables, or cloud security groups) that deny all other sources.
  • Run the LMCache container with a non-root user and a read-only root filesystem to limit the blast radius of code execution.
  • Use a service mesh or stunnel-style TLS wrapper with mutual authentication in front of the ZeroMQ transport until the upstream project ships authenticated IPC.
  • Disable multiprocess mode entirely in deployments that can tolerate single-process operation.
bash
# Example host firewall rule restricting port 5555 to a known worker subnet
iptables -A INPUT -p tcp --dport 5555 -s 10.0.10.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 5555 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.