漏洞描述
ruflo MCP bridge (< 3.16.3) in its default docker-compose deployment exposes POST /mcp with no authentication and binds to all interfaces (0.0.0.0:3001). The executeTool() function has no server-side deny list for dangerous tools, allowing an unauthenticated attacker to invoke tools/call with ruflo__terminal_execute, which runs execSync(command) on attacker-supplied input. This yields arbitrary command execution as the node user (uid 1000) inside the bridge container. The blocklist (AUTOPILOT_BLOCKED_PATTERNS + isBlockedTool()) is enforced only in the autopilot SSE handler; POST /mcp and POST /mcp/:group bypass it entirely.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。
参考链接
github.comhttps://github.com/ruvnet/ruflo/security/advisories/GHSA-c4hm-4h84-2cf3↗nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2026-59726↗www.pruva.devhttps://www.pruva.dev/reproductions/REPRO-2026-00315↗github.comhttps://github.com/ruvnet/ruflo/commit/d00a0a40cd8bdbca877ac7f675f416bdc69accd1↗github.comhttps://github.com/ruvnet/ruflo/pull/2521↗github.comhttps://github.com/ruvnet/ruflo/releases/tag/v3.16.3↗