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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-55580— mcp-shell — Security Disabled by Default in Bare-Binary Deploy Path + Shell Interpreter in Secure-Mode Allowlist

Quick assessment

Affected
sonirico mcp-shell
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.

mcp-shell 是一个 MCP(Model Context Protocol)服务器,用于安全、可审计且按需执行 Shell 命令。在版本 0.6.0 之前,config.go 将 Security.Enabled 初始化为 false;当未设置环境变量 MCP_SHELL_SEC_CONFIG_FILE 时,main.go 会启动文档中描述的裸二进制部署模式,且不带任何安全策略。随后,security.go 中的 SecurityValidator.validateCommand 函数会短路处理,允许传入 s

CVSS 8.6 · High

Affected Version Matrix 1

VendorProduct Version RangeStatus
sonirico mcp-shell < 0.6.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-55580

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
mcp-shell — Security Disabled by Default in Bare-Binary Deploy Path + Shell Interpreter in Secure-Mode Allowlist
Source: CVE Program / CVE List V5
Vulnerability Description
mcp-shell is an MCP server for running shell commands securely, auditably, and on demand. Prior to 0.6.0, config.go initializes Security.Enabled to false, and when MCP_SHELL_SEC_CONFIG_FILE is unset, main.go starts the documented bare-binary deployment without a security policy. SecurityValidator.validateCommand in security.go then short-circuits and allows every command supplied to the shell_exec MCP tool, so an LLM connected over stdio can execute unrestricted OS commands as the mcp-shell process user. The README from-source installation and MCP client configuration omit MCP_SHELL_SEC_CONFIG_FILE, making the insecure state the documented default. This issue is fixed in version 0.6.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
sonirico mcp-shell < 0.6.0 -

II. Public POCs for CVE-2026-55580

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 7130 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-55580

登录查看更多情报信息。

Patches & Fixes for CVE-2026-55580 (2)

Vendor Advisories for CVE-2026-55580 (1)

Vendor Pages for CVE-2026-55580 (1)

Same Patch Batch · sonirico · 2026-08-25 · 3 CVEs total

CVE-2026-55582 8.4 HIGH mcp-shell: Secure Mode Allowlist Bypass via Git Shell Alias
CVE-2026-55581 8.4 HIGH mcp-shell: Secure Mode Allowlist Bypass via Default `/bin/bash` Executable

IV. Related Vulnerabilities

V. Comments for CVE-2026-55580

No comments yet


Leave a comment