Flowise Custom MCP Flaw Enables One-Click Remote Code Execution
Researchers disclosed CVE-2026-40933, a critical remote code execution flaw in self-hosted Flowise deployments tied to the platform’s Custom MCP support over stdio. The issue lets an authenticated attacker execute arbitrary OS commands with the privileges of the Flowise process by supplying a malicious MCP server configuration, either directly or by embedding it in a shared chatflow. In the demonstrated one-click scenario, importing the crafted chatflow alone can trigger server-side command execution when Flowise enumerates available MCP actions, before any save or run step. Flowise Cloud is not affected because stdio MCP is disabled, but open-source and enterprise self-hosted deployments are vulnerable by default.
Reporting on the flaw said Flowise’s initial mitigation—blocking risky flags for allowlisted commands—does not fix the underlying problem because the feature still launches user-controlled processes, and researchers showed it can be bypassed through environment variables. Recommended defenses include upgrading to Flowise 3.1.0, limiting who can add or import MCP configurations, isolating Flowise from sensitive internal systems, and disabling stdio MCP unless it is strictly required by setting:
CUSTOM_MCP_PROTOCOL=sse
The disclosures also warn that the bug reflects a broader architectural and supply-chain risk for agentic AI platforms that expose unsandboxed stdio-based MCP configuration to lower-trust users or untrusted artifacts.

Get ahead of threats like this
Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.
How this story unfolded
2 events from the most recent confirmed update back to the earliest known activity.
Flowise 3.1.0 recommended to address CVE-2026-40933
A later report states that Flowise's initial mitigation based on blocking risky flags for allowlisted commands was insufficient and could be bypassed. It recommends upgrading to Flowise 3.1.0 and restricting who can add or import MCP configurations.
Obsidian Security discloses CVE-2026-40933 in Flowise
Obsidian Security disclosed CVE-2026-40933, a one-click remote code execution issue in self-hosted Flowise deployments tied to Custom MCP tool support for stdio transport. The researchers said importing a crafted shared chatflow can trigger server-side command execution when Flowise enumerates MCP actions.
Related entities
Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.
Sources
2 references tracked. Mallory keeps watching after this page renders.
See the full picture, correlated to your attack surface.
Map indicators from this story to your assets and identify affected systems in minutes.
Every observed campaign, victim, and pivot linked to actors named in this story.
Malware, exploits, and IOCs connected to the activity described here.
YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Get matching new stories delivered to your team as they break — not the next morning.
Ask questions about this story and take action on the answers.


