Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
Back to intelligence
ai-platform-securityinternet-facing-service-vulnerabilitywidely-deployed-product-advisoryproof-of-concept-release

Flowise Custom MCP Flaw Enables One-Click Remote Code Execution

Updated 22d agoFirst seen Jun 1, 20262 sources

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.

Share:
Flowise Custom MCP Flaw Enables One-Click Remote Code Execution
Stay ahead

Get ahead of threats like this

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.

EVENT TIMELINE

How this story unfolded

2 events from the most recent confirmed update back to the earliest known activity.

2 EVENTS
Jun 1, 202623d ago

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.

CVE-2026-40933 - Flowise: Authenticated RCE via MCP stdio Adapter - TheCyberThrone
May 28, 202627d ago

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.

1-Click RCE in Flowise (CVE-2026-40933): When Is stdio MCP Actually a Vulnerability?
LINKED ENTITIES

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

28 LINKEDOpen in app
The operational view lives in Mallory

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t — which of your assets are affected, which threat actors are using it right now, which detections to deploy, and what to do next.
Exposure mapping

Map indicators from this story to your assets and identify affected systems in minutes.

Threat actor evidence

Every observed campaign, victim, and pivot linked to actors named in this story.

Associated malware

Malware, exploits, and IOCs connected to the activity described here.

Detection signatures

YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.

Scheduled alerts

Get matching new stories delivered to your team as they break — not the next morning.

AI threads

Ask questions about this story and take action on the answers.