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

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2026-45018— Chainlit 命令注入漏洞

一分钟漏洞结论

影响对象
Chainlit chainlit
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Chainlit是chainlit组织开源的一个大模型对话界面框架。 Chainlit 2.4.0rc0版本至2.12.0之前版本存在命令注入漏洞,该漏洞源于MCP端点缺少身份验证且对用户控制的fullCommand参数验证不足,可能导致攻击者执行任意shell命令。

CVSS 9.8 · Critical EPSS 1.09% · P65

影响版本矩阵 1

厂商产品 版本范围状态
Chainlit chainlit >= 2.4.0rc0, < 2.12.0 affected
获取后续新漏洞提醒 登录后订阅

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

漏洞信息

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

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

Vulnerability Title
Chainlit: Command injection via MCP stdio transport allows unauthenticated remote code execution
来源: CVE Program / CVE List V5
Vulnerability Description
Chainlit is a Python framework for building production-ready conversational AI applications. From 2.4.0rc0 until 2.12.0, Chainlit deployments with features.mcp.enabled set to true in .chainlit/config.toml expose the POST /mcp endpoint without requiring authentication. For stdio transport, the endpoint accepts a user-controlled fullCommand string. The validate_mcp_command() function in backend/chainlit/mcp.py checks only the executable name against config.features.mcp.stdio.allowed_executables and passes unchecked arguments to StdioServerParameters in backend/chainlit/server.py. Because npx supports the -c argument, an attacker can execute arbitrary shell commands with the privileges of the Chainlit process. If allowed_executables is unset, its None default is treated as allowing every executable. This issue is fixed in version 2.12.0.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
来源: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
来源: CVE Program / CVE List V5
Vulnerability Title
Chainlit 命令注入漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Chainlit是chainlit组织开源的一个大模型对话界面框架。 Chainlit 2.4.0rc0版本至2.12.0之前版本存在命令注入漏洞,该漏洞源于MCP端点缺少身份验证且对用户控制的fullCommand参数验证不足,可能导致攻击者执行任意shell命令。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
Chainlit chainlit >= 2.4.0rc0, < 2.12.0 -

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

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

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

请登录查看更多情报信息。

CVE-2026-45018 厂商安全公告 (2)

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

IV. Related Vulnerabilities