Description
Flowise before 3.0.6 (affected versions 2.2.7-patch.1 and earlier) contains an unsandboxed remote code execution vulnerability in the Custom MCP feature, which is designed to execute OS commands such as launching local MCP servers. Because Flowise's authentication and authorization model is minimal and lacks role-based access control, and the default installation runs without authentication unless FLOWISE_USERNAME and FLOWISE_PASSWORD are set, an attacker can send a crafted JSON payload with the header 'x-request-from: internal' to the /api/v1/node-load-method/customMCP endpoint to execute arbitrary OS commands, resulting in complete compromise of the platform container or server.
Problem types
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Product status
Any version before 3.0.6
3.0.6 (semver)
Credits
assaf-levkovich-jf
References
github.com/...lowise/security/advisories/GHSA-6933-jpx5-q87q (GitHub Security Advisory (GHSA-6933-jpx5-q87q))
www.vulncheck.com/...ed-remote-code-execution-via-custom-mcp (VulnCheck Advisory: Flowise - Unsandboxed Remote Code Execution via Custom MCP)