LMCache: the unauthenticated pickle RCE is fixed in 0.5.6
LMCache 0.5.6 removes the pickle call behind CVE-2026-105192, so the multiprocess transport no longer runs code from unauthenticated peers.
· JFrog · Research by Yuval Moravchick (JFrog Security Research Team), yyymk
LMCache 0.5.6 fixes CVE-2026-105192, the unauthenticated remote code execution flaw on the multiprocess ZeroMQ transport. The release replaces pickle with typed MessagePack descriptors and disables the /run_script endpoint by default.
- research.jfrog.comJFrog Advisory
- github.comGitHub Advisory
- blog.lmcache.aiLMCache Project Post
- +4 sources
01What happened
LMCache shipped v0.5.6 on 14 October 2026, the first release that removes the pickle call behind CVE-2026-105192. GitHub published advisory GHSA-w5f2-9q9c-ff4h on 16 October 2026, listing 0.5.6 as the patched version, and withdrew the earlier GHSA-vv44-hjm2-qw2f as a duplicate. JFrog's own advisory, which disclosed the flaw on 7 October 2026, still records no fixed release.
02How it works
The flaw sits in LMCache's multiprocess ZeroMQ ROUTER socket, which carries no CURVE, ZAP or password authentication. Messages tagged with msgpack extension code 1 reached pickle.loads while the server decoded REGISTER_KV_CACHE arguments, so one crafted frame ran code before any handler checked the request. Version 0.5.6 replaces that path with versioned, typed MessagePack descriptors that are validated before use, and takes the device wrapper type from a fixed allowlist with no pickle fallback.
03Who is affected
LMCache 0.3.9 up to 0.5.6 are affected in multiprocess mode, which the project also calls distributed mode. GitHub's advisory lists 0.5.6 as the first patched version and says the fix covers both the ZeroMQ and gRPC paths. Deployments that keep the transport on localhost, or that run LMCache only inside a vLLM process, never open the port.
04What to do
Upgrade LMCache to 0.5.6 or later, and move every worker and server together, because GitHub's advisory says the wire format changed. Review any deployment copied from the project's Kubernetes example, which bound every interface until PR 5684 changed the default to localhost. Treat a host whose transport port was ever reachable from an untrusted network as potentially compromised and redeploy it from clean images.
Questions people ask
- Is there a patch for LMCache CVE-2026-105192?
- LMCache 0.5.6, released on 14 October 2026, is the first version that fixes CVE-2026-105192. GitHub's advisory GHSA-w5f2-9q9c-ff4h lists 0.5.6 as the patched release and marks every version from 0.3.9 onward as affected. The release notes say pickle is no longer used to serialize device IPC handles in multiprocess mode.
- Which LMCache deployments were exposed?
- Multiprocess mode, which LMCache also calls distributed mode, opens the vulnerable ZeroMQ transport on port 5555. The transport listens on localhost by default, so the CVSS 9.8 score applies to deployments that set a routable address with --host, as multi-node clusters commonly do. LMCache running only inside a vLLM process never opens the port.
- Do I need to do anything else after upgrading LMCache?
- Upgrading changes the wire format, so GitHub's advisory says every worker and server must move to 0.5.6 together. The advisory also says a host whose transport port was ever reachable from an untrusted network should be treated as potentially compromised and redeployed from clean images. Official container images now run as a non-root user.
- What happened to the second LMCache code execution path?
- CVE-2026-107204 is a separate unauthenticated code execution path in LMCache's internal API server, where callers post Python to the /run_script endpoint and reach the real builtins through the FastAPI app object. The 0.5.6 release notes say /run_script is now disabled by default. LMCache issue 5510, opened by yyymk on 6 October 2026, remains open.
Sources 7 links, all fetched
- 1research.jfrog.comJFrog Advisory
- 2github.comGitHub Advisory
- 3blog.lmcache.aiLMCache Project Post
- 4github.comRelease Notes 0.5.6
- 5github.comWithdrawn Advisory
- 6github.comSecond RCE Advisory
- 7github.comLMCache Issue 5510