Lmcache: Duplicate Advisory: Remote code execution via unsafe deserialization in multiprocess mode transport
Affects lmcacheSource GCVE Database
CVSS 9.8 Critical.
Data as of 16 Oct 2026, 23:14 UTC
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWhat to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIlmcache | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, operators should ensure the transport socket is bound only to localhost and not exposed to untrusted networks. Avoid setting the --host option to a routable address unless necessary and secure the environment accordingly.
Description
LMCache multiprocess mode (distributed mode) exposes an unauthenticated ZeroMQ ROUTER socket that accepts msgpack messages. A vulnerability in the deserialization process allows remote attackers to execute arbitrary code via a specially crafted message. This occurs because the server calls pickle.loads on untrusted data before request handling. The default transport binds to localhost, but if configured with a routable address, it can be exploited remotely. Official container images run the LMCache process as root, increasing the impact of exploitation.
References
- nvd.nist.gov/vuln/detail/CVE-2026-105192 (opens in a new tab)
- github.com/LMCache/LMCache (opens in a new tab)
- github.com/LMCache/LMCache/blob/v0.3.9/lmcache/v1/multiprocess/custom_types.py (opens in a new tab)
- github.com/LMCache/LMCache/blob/v0.5.5/lmcache/v1/platform/base/ipc_wrapper.py (opens in a new tab)
- pypi.org/project/lmcache (opens in a new tab)