Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-6118— AstrBotDevs AstrBot MCP Endpoint tools.py add_mcp_server command injection

Quick assessment

Affected
AstrBotDevs AstrBot
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

AstrBot是AstrBot开源的一个多平台 LLM 聊天机器人及开发框架。 AstrBot 4.22.1及之前版本存在命令注入漏洞,该漏洞源于MCP Endpoint组件中文件astrbot/dashboard/routes/tools.py的add_mcp_server函数对参数command处理不当,可能导致命令注入。

CVSS 6.3 · Medium EPSS 3.48% · P89

Public Exploits 1

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-6118

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
AstrBotDevs AstrBot MCP Endpoint tools.py add_mcp_server command injection
Source: CVE Program / CVE List V5
Vulnerability Description
A vulnerability was determined in AstrBotDevs AstrBot up to 4.22.1. Impacted is the function add_mcp_server of the file astrbot/dashboard/routes/tools.py of the component MCP Endpoint. This manipulation of the argument command causes command injection. The attack is possible to be carried out remotely. The exploit has been publicly disclosed and may be utilized. The project was informed of the problem early through an issue report but has not responded yet.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
在命令中使用的特殊元素转义处理不恰当(命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
AstrBot 命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
AstrBot是AstrBot开源的一个多平台 LLM 聊天机器人及开发框架。 AstrBot 4.22.1及之前版本存在命令注入漏洞,该漏洞源于MCP Endpoint组件中文件astrbot/dashboard/routes/tools.py的add_mcp_server函数对参数command处理不当,可能导致命令注入。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
AstrBotDevs AstrBot 4.22.0 cpe:2.3:a:astrbot:astrbot:*:*:*:*:*:*:*:*

II. Public POCs for CVE-2026-6118

# POC Description Source Link Shenlong Link
1 AstrBot versions up to and including 4.22.1 contain a command injection vulnerability in the MCP server configuration endpoint. The /api/tools/mcp/add endpoint accepts arbitrary command and args fields that are passed directly to subprocess execution during the connection test, without any validation or allowlist enforcement. An attacker with dashboard access can execute arbitrary system commands with AstrBot process privileges. https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-6118.yaml POC Details
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-6118

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

Vendor Advisories for CVE-2026-6118 (1)

Other References for CVE-2026-6118 (1)

Same Patch Batch · AstrBotDevs · 2026-04-12 · 3 CVEs total

CVE-2026-6119 6.3 MEDIUM AstrBotDevs AstrBot API Endpoint post_data.get server-side request forgery
CVE-2026-6117 6.3 MEDIUM AstrBotDevs AstrBot install-upload Endpoint plugin.py install_plugin_upload sandbox

IV. Related Vulnerabilities

V. Comments for CVE-2026-6118

No comments yet


Leave a comment