CVE-2026-105192: LMCache Remote Code Execution via Unsafe Deserialization in Multiprocess Mode Transport

lmcache Updated 17 Oct 2026

Summary

16/10/2026
Yes i
Critical
9.8

CVE-2026-105192: LMCache: Remote code execution via unsafe deserialization in multiprocess mode transport. Affects lmcache versions >= 0.3.9, < 0.5.6. Fixed in 0.5.6. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

LMCache is an open-source caching library designed for high-performance key-value storage and retrieval in Python applications. It supports multiprocess mode, allowing multiple instances to share cache data over a network using ZeroMQ for communication. However, this mode introduces significant security risks due to its lack of authentication and reliance on unsafe deserialization methods.

Vulnerability Detail

LMCache is vulnerable to unauthenticated remote code execution due to unsafe deserialization of messages sent over its ZeroMQ transport in multiprocess mode. The vulnerability arises when the library processes messages that include pickled data without proper validation. An attacker can exploit this by sending a specially crafted message to the transport port, executing arbitrary code with the privileges of the LMCache process, which often runs as root. This vulnerability is critical, with a CVSS score of 9.8, as it allows complete control over the affected system.

How To Fix

Latest published version: 0.5.6 as of 22 Oct 2026

pip install --upgrade "lmcache==0.5.6"

The newest release already contains this fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Until you can upgrade, consider the following workarounds: 1. Do not bind the transport to a routable address; keep it on localhost or a trusted network. 2. Restrict access to the transport port (default 5555) using firewall rules or network policies. 3. Run LMCache as a non-root user by building from the provided Dockerfile.

Conclusion

CVE-2026-105192 represents a critical security vulnerability in LMCache that allows remote code execution through unsafe deserialization. It is essential to update to version 0.5.6 or later to mitigate this risk. Implementing the recommended workarounds can provide temporary relief until an upgrade is feasible.

See every vulnerability recorded for lmcache →

Share this vulnerability

FAQ

LMCache is a high-performance key-value caching library for Python applications, designed to facilitate fast data retrieval and storage.

CVE-2026-105192 allows remote code execution through unsafe deserialization in LMCache's multiprocess mode, potentially compromising the entire system.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Failing to address this vulnerability could allow attackers to execute arbitrary code on your server, leading to data breaches, system compromise, and loss of control over your application.

If your system was exposed, review connections to the transport port, check for unexpected processes, rotate credentials, and redeploy from clean images.

Related vulnerabilities

Recent vulnerabilities recorded for lmcache.

How To Fix

Latest published version: 0.5.6 as of 22 Oct 2026

pip install --upgrade "lmcache==0.5.6"

The newest release already contains this fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback