Skip to content
CriticalVulnerability

GHSA-6933-jpx5-q87q: Flowise has unsandboxed remote code execution via Custom MCP

Published
Record updated
View JSON
Affected
  • flowise >= 2.2.7-patch.1, < 3.0.6
Fixed in
3.0.6
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.6%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

Flowise's Custom MCP feature runs OS commands, such as through npx, without sandboxing or role-based access controls. The default installation has no authentication unless FLOWISE_USERNAME and FLOWISE_PASSWORD are set, so a user on the platform can reach the `/api/v1/node-load-method/customMCP` endpoint with a crafted mcpServerConfig and run arbitrary system commands, including a reverse shell via nc. The result is remote code execution and full compromise of the platform container or server. The issue was discovered by Assaf Levkovich of JFrog Security Research.

Mitigation

Consider adding access controls around Custom MCP, for example limiting configuration of new Custom MCPs to users with the "Admin" role. Consider disabling the Custom MCP feature by default, with a clear disclaimer on the implications of enabling it. Consider running Custom MCPs within a sandboxed environment.