Input validation error in Flowise - #VU146548
Published: September 1, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary code.
The vulnerability exists due to improper input validation in validateMCPServerConfig() in packages/components/nodes/tools/MCP/core.ts when processing MCP server configuration. A remote user can supply a crafted cwd parameter to execute arbitrary code.
The issue arises because the cwd parameter is not validated before being passed to StdioClientTransport, allowing path validation checks on args to be bypassed.