目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2026-42271— LiteLLM 命令注入漏洞

AI 预测 8.1 利用难度: 较易 KEV EPSS 80.19% · P100

公开利用映射 1

影响版本矩阵 1

厂商产品版本范围状态
BerriAIlitellm>= 1.74.2, < 1.83.7affected
获取后续新漏洞提醒登录后订阅

一、 漏洞 CVE-2026-42271 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
LiteLLM: Authenticated command execution via MCP stdio test endpoints
来源: 美国国家漏洞数据库 NVD
Vulnerability Description
LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. From version 1.74.2 to before version 1.83.7, two endpoints used to preview an MCP server before saving it — POST /mcp-rest/test/connection and POST /mcp-rest/test/tools/list — accepted a full server configuration in the request body, including the command, args, and env fields used by the stdio transport. When called with a stdio configuration, the endpoints attempted to connect, which spawned the supplied command as a subprocess on the proxy host with the privileges of the proxy process. The endpoints were gated only by a valid proxy API key, with no role check. Any authenticated user — including holders of low-privilege internal-user keys — could therefore run arbitrary commands on the host. This issue has been patched in version 1.83.7.
来源: 美国国家漏洞数据库 NVD
CVSS Information
N/A
来源: 美国国家漏洞数据库 NVD
Vulnerability Type
在命令中使用的特殊元素转义处理不恰当(命令注入)
来源: 美国国家漏洞数据库 NVD
Vulnerability Title
LiteLLM 命令注入漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
LiteLLM是Berri AI开源的一个应用程序。可以使用 OpenAI 格式调用所有 LLM API。 LiteLLM 1.74.2版本至1.83.7之前版本存在命令注入漏洞,该漏洞源于两个用于预览MCP服务器的端点接受请求体中的完整服务器配置,包括stdio传输使用的命令、参数和环境字段,当使用stdio配置调用时端点尝试连接并生成子进程,端点仅由有效代理API密钥保护而无角色检查,任何认证用户均可运行任意命令。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商产品影响版本CPE订阅
BerriAIlitellm >= 1.74.2, < 1.83.7 -

二、漏洞 CVE-2026-42271 的公开POC

#POC 描述源链接神龙链接
1A critical unauthenticated remote code execution vulnerability exists in LiteLLM due to improper input handling in the MCP stdio test endpoint. An attacker can send a specially crafted request to the `/mcp-rest/test/connection` endpoint with controlled parameters, resulting in arbitrary command execution on the server. When combined with an authentication bypass technique—such as the Starlette BadHost flaw (CVE-2026-48710)—an unauthenticated attacker can exploit the chain to execute commands as the server process. Exploitation allows an attacker to spawn processes with the privileges of the LiteLLM server, potentially leading to complete compromise of the host. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-42271.yamlPOC详情
AI 生成 POC高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-42271 的情报信息

登录查看更多情报信息。

CVE-2026-42271 厂商安全公告 (1)

CVE-2026-42271 厂商页面 (1)

同批安全公告 · BerriAI · 2026-05-08 · 共 3 条

CVE-2026-42203LiteLLM 安全漏洞
CVE-2026-42208LiteLLM SQL注入漏洞

IV. Related Vulnerabilities

V. Comments for CVE-2026-42271

暂无评论


发表评论