Swati Khandelwal 2026年10月7日 漏洞 / 人工智能
LMCache(一款旨在加速 vLLM 等大型语言模型(LLM)服务器的开源软件)中存在一个严重漏洞,攻击者无需登录即可在缓存服务器上运行代码,且目前尚无修复版本可用。
该缺陷位于 LMCache 的多进程模式中,在此模式下,缓存作为独立服务器运行,LLM 工作节点通过 ZeroMQ 消息库与其通信。向该服务器发送单个网络消息即可以 LMCache 进程所属用户的身份执行命令。
只有当操作员将服务器设置为监听可路由地址(而非默认使用的本地回环地址)时,才能从另一台机器访问该服务器。
JFrog 于 10 月 7 日披露了该缺陷,并赋予其 9.8/10 的严重性评分,属于“严重”范围,这是针对绑定到可路由地址的服务器的评级。
该漏洞被追踪为 CVE-2026-105192,影响从 2025 年 10 月发布的 0.3.9 版本至最新的稳定版本 0.5.5 的 LMCache,同时也存在于 0.5.6 候选版本及开发分支中。目前不存在修复版本。
服务器是否暴露取决于一个设置。默认情况下,多进程服务器仅监听本地机器,因此其他主机无法访问它。当操作员使用可路由地址启动服务器时(类似于多节点部署在机器间共享缓存),它变得可达。
LMCache 自己的示例 Kubernetes 部署即以这种方式启动服务器,监听所有网络接口。而在单个 vLLM 进程内运行的 LMCache 副本根本不会打开端口。
多进程服务器为工作节点注册和共享缓存数据而打开的 ZeroMQ 套接字没有身份验证机制。其中一种消息类型使用 pickle(一种可携带代码并在解码数据时执行它的 Python 格式)进行解包。服务器在读取消息参数时即进行解包,在任何消息类型检查之前,因此精心构造的消息可以运行发送者的代码。
该代码以 LMCache 进程的权限运行。根据 JFrog 的说法,在项目官方容器镜像中,该进程以 root 用户身份运行。该缺陷由 JFrog 安全研究团队的 Yuval Moravchick 发现。
目前没有发布补丁版本。在补丁发布之前,JFrog 建议操作员不要为多进程服务器分配可路由地址,并将其端口保留在本地机器或受信任的集群网络上。限制谁能访问端口的防火墙可以降低风险,但并不能消除风险,因为任何仍能打开连接的主机都可以运行代码。
LMCache 尚未就该缺陷发布安全公告。JFrog 的公告未向操作员提供确定服务器是否已被攻击的方法。
其他报告及相关 vLLM 修复
此外,一名 GitHub 用户于 CVE-2026-105192 公开的前一天,即 10 月 6 日,提交了六份额外的 LMCache 安全报告。他们指控存在对属于不同租户的缓存数据以及几个无需登录即可执行命令的网络服务的未授权访问。
这些报告来自同一个账户,基于概念验证声明,没有 CVE 编号,没有得到维护者的确认,也没有修复方案。其中一份指向一个默认的 LMCache,该配置后来已更改:在 0.5.5 中监听所有网络接口的管理员 HTTP 服务器,在 0.5.6 候选版本中仅监听本地主机。
vLLM 中的一个相关缺陷已经得到修复。在 9 月 22 日发布的 0.30.0 版本之前,携带格式错误的 cache_salt 值的单个请求可能会在使用 LMCache 多进程连接器的部署中导致引擎崩溃,这是一个被追踪为 CVE-2026-105756 的拒绝服务漏洞。其评分为 6.5,不允许代码执行。
核心错误在于,将来自未认证网络套接字的数据直接交给 pickle 处理。这一错误与研究人员在 2025 年 11 月于其他多个 AI 推理框架中发现的问题相同,他们将这些漏洞统称为 ShadowMQ。目前尚不清楚 LMCache 的代码是否与这些项目存在共同的源头。
Swati Khandelwal Oct 07, 2026 Vulnerability / Artificial Intelligence
A critical vulnerability in LMCache , open-source software that speeds up large language model (LLM) servers such as vLLM, lets an attacker run code on the cache server without logging in, and no fixed version is available.
The flaw is in LMCache's multiprocess mode , where the cache runs as a standalone server that LLM workers reach over the ZeroMQ messaging library. A single network message to that server can run commands as the user the LMCache process runs as.
The server can be reached from another machine only when an operator sets it to listen on a routable address, rather than the localhost it uses by default.
JFrog disclosed the flaw on October 7 and assigned it a severity score of 9.8 out of 10, in the critical range, the rating it gives a server bound to a routable address.
The vulnerability, tracked as CVE-2026-105192 , affects LMCache from version 0.3.9, released in October 2025, through 0.5.5, the latest stable release, and is also present in the 0.5.6 release candidates and the development branch. No fixed version exists.
Whether a server is exposed comes down to one setting. By default, the multiprocess server listens only on the local machine, so another host cannot reach it. It becomes reachable when an operator starts it with a routable address, much like multi-node deployments share a cache across machines.
LMCache's own example Kubernetes deployment starts the server that way, listening on every network interface. A copy of LMCache running inside a single vLLM process does not open the port at all.
The ZeroMQ socket the multiprocess server opens for worker processes to register and share cached data has no authentication. One type of message is unpacked with pickle , a Python format that can carry code and run it as the data is decoded. The server unpacks it while still reading the message's arguments, before any check of the message's type, so a crafted message can run the sender's code.
The code runs with the privileges of the LMCache process. On the project's official container images, that process runs as root, according to JFrog. The flaw was found by Yuval Moravchick of JFrog's security research team.
There is no patched release. Until one ships, JFrog advises operators not to assign the multiprocess server a routable address and to keep its port on the local machine or on a trusted cluster network. A firewall that limits who can reach the port lowers the risk but does not remove it, because any host that can still open a connection can run code.
LMCache has not published a security advisory for the flaw. JFrog's advisory does not provide operators with a way to determine whether a server has already been attacked.
Other Reports and a Related vLLM Fix
Separately, a GitHub user opened six additional LMCache security reports on October 6, the day before CVE-2026-105192 was made public. They allege unauthenticated access to cached data belonging to different tenants, as well as to several network services that execute commands without a login.
The reports come from one account, rest on proof-of-concept claims, and have no CVE, no confirmation from the maintainers, and no fix. One points to a default LMCache that has since changed: an admin HTTP server that listened on every network interface in 0.5.5 listens only on the local host in the 0.5.6 release candidates.
A related flaw in vLLM is already fixed. Before version 0.30.0, released September 22, a single request carrying a malformed cache_salt value could crash the engine on deployments that use the LMCache multiprocess connector, a denial-of-service bug tracked as CVE-2026-105756 . It is rated 6.5 and does not allow code execution.
The core mistake, handing data from an unauthenticated network socket to pickle, is the same one researchers found across other AI inference frameworks in November 2025, in a group of flaws they called ShadowMQ . Whether LMCache's code shares a common source with those projects has not been established.
首次收录 · 2026-10-08 · 9.62 分