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
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.
| # | POC Description | Source Link | Shenlong Link |
|---|
| 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 |
No comments yet