Skip to main content
VulnerabilityPublished Updated

Lmcache: Duplicate Advisory: Remote code execution via unsafe deserialization in multiprocess mode transport

Affects lmcacheSource GCVE Database

0

CVSS 9.8 Critical.

Data as of 16 Oct 2026, 23:14 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What to do

Affected software

ProductAffectedFixed in
PyPIlmcacheAffected
  • >=0.3.9
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

Community reviews

Loading reviews…