Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed Flowise API
-
DeliveryPOST to /api/v1/node-load-method/customMCP with x-request-from:internal
-
ExploitInject command and args in mcpServerConfig
-
ExecutionFlowise spawns child process unsandboxed
-
Persistnc reverse shell to attacker
-
ImpactFull container/host compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires network reachability to the Flowise HTTP API and that the target is running an affected version (2.2.7-patch.1 through 3.0.6-pre) with the Custom MCP code path present. The decisive enabler is Flowise's default deployment with no authentication (FLOWISE_USERNAME/FLOWISE_PASSWORD unset) and no RBAC, so any client can call /api/v1/node-load-method/customMCP. The attacker must supply the 'x-request-from: internal' header and a JSON payload populating mcpServerConfig.command and mcpServerConfig.args with loadMethod 'listActions'. Limiting factors: instances configured with FLOWISE_USERNAME/FLOWISE_PASSWORD or an upstream auth proxy reduce unauthenticated exposure, and instances not exposed to attacker-reachable networks are out of reach; no user interaction is required and per CVSS PR:N no authentication is needed against default configurations. |
| Impact | All signals align toward high priority. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H, score 9.3) indicates remote, low-complexity, unauthenticated exploitation with full confidentiality, integrity and availability loss on the vulnerable system - and a working PoC plus reverse-shell technique are public, raising automatability. The 'x-request-from: internal' header is trivially attacker-controlled, removing any meaningful barrier. The main limiting factor is the default-no-auth deployment assumption: if an operator has set FLOWISE_USERNAME/FLOWISE_PASSWORD or fronted Flowise with an auth proxy, the unauthenticated attack surface narrows, though the PoC does not demonstrate that auth blocks the internal header path, so this should be verified against a hardened instance. No EPSS score and no CISA KEV listing were provided in the input, so widespread active exploitation is not confirmed; risk is driven by public PoC plus the trivial preconditions rather than observed in-the-wild campaigns. |
| Exploit ScenarioDerived | An attacker discovers an internet-exposed Flowise instance running with its default no-auth configuration, then sends a single POST to /api/v1/node-load-method/customMCP with the 'x-request-from: internal' header and a JSON body setting command to 'nc' with args pointing at the attacker's listener and '-e /bin/sh'. Flowise spawns the process, granting an interactive reverse shell as the Flowise service user and full control of the container. A public PoC demonstrating both a file-creation proof and the reverse shell is included in the GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 25, 2026
Remote code execution in Flowise (versions 2.2.7-patch.1 through pre-3.0.6) lets attackers run arbitrary OS commands by abusing the Custom MCP feature, which is intended to spawn local MCP servers via tools like npx. Because the default installation runs with no authentication (unless FLOWISE_USERNAME/FLOWISE_PASSWORD are set) and lacks role-based access control, an attacker can POST a crafted JSON payload bearing the 'x-request-from: internal' header to /api/v1/node-load-method/customMCP and fully compromise the host container. Publicly available exploit code exists in the GHSA advisory, including a reverse-shell payload via nc.
RemediationAI
Upgrade to Flowise 3.0.6 or later (Vendor-released patch: 3.0.6); the fix is in PR https://github.com/FlowiseAI/Flowise/pull/5201 and commit ac7cf30e019cde54905bf09b5d3fe1c6ba42f9b9. If you cannot upgrade immediately, set FLOWISE_USERNAME and FLOWISE_PASSWORD to enable basic authentication and place the instance behind an authenticating reverse proxy, restrict network access to the /api/v1/node-load-method/customMCP endpoint, and where possible disable or remove the Custom MCP feature - accepting that doing so breaks legitimate local MCP server launching. Additionally, strip or reject the 'x-request-from: internal' header at the proxy layer so external clients cannot assert internal trust, run the Flowise container as a non-root, least-privilege user with no outbound network egress, and consider sandboxing Custom MCP execution as recommended in GHSA-6933-jpx5-q87q. Refer to the advisory at https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-6933-jpx5-q87q for vendor guidance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Flowise is a low-code/no-code visual builder for LLM orchestration flows. The vulnerability is an OS command injection (CWE-78) rooted in the Custom MCP node, which by design executes a configurable 'command' plus 'args' to launch Model Context Protocol servers. The customMCP node-load-method handler passes the user-supplied mcpServerConfig directly to a child-process invocation without sandboxing, allowlisting, or privilege separation. The 'x-request-from: internal' header is an internal trust marker the application honors, and combined with Flowise's minimal auth model (no RBAC, optional basic auth disabled by default per the affected CPE cpe:2.3:a:flowise:flowise:*) it allows the command/args fields to be set to any binary, e.g. touch, nc, /bin/sh.
Know when Flowise gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Default no-auth install and attacker-set internal header make it remote and unauthenticated (PR:N, AC:L), and direct command execution yields full C/I/A loss.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
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.
Executive ViewAI
Flowise versions through 3.0.6 contain a critical remote code execution vulnerability enabling unauthenticated attackers to execute arbitrary OS commands and fully compromise the host container. The flaw resides in the Custom MCP feature (enabled by default), which lacks adequate input validation and access controls, allowing exploitation even on deployments without authentication configured. Organizations running Flowise in internet-facing or shared environments face immediate risk of complete infrastructure compromise and potential lateral movement.
Disable the Custom MCP feature in Flowise configuration; mandate FLOWISE_USERNAME and FLOWISE_PASSWORD environment variables to enforce authentication; restrict network access to Flowise deployment via IP-based firewall/WAF allowlists; segment Flowise instances from other systems via network isolation; implement comprehensive audit logging of /api/v1/node-load-method/customMCP requests and subprocess execution within the container; monitor for indicators of compromise including unexpected process spawning and command execution patterns. Publicly available exploit code exists-prioritize remediation based on exposure level.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete
Flowise versions before 3.0.1 allow unauthenticated access to the Custom MCPs feature, which is designed to execute OS c
FlowiseAI Flowise version 2.2.6 contains an arbitrary file upload vulnerability in the /api/v1/attachments endpoint. Una
Arbitrary file read and write in Flowise versions prior to 3.0.8 allows an authenticated attacker with access to the flo
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Flowise is a drag & drop user interface to build a customized large language model flow. Rated critical severity (CVSS 9
Authenticated users can upload arbitrary files to Flowise 3.0.7 due to missing validation, enabling persistent storage o
Unrestricted file upload in Flowise LLM workflow builder before 3.0.13 via /api/v1/attachments endpoint allows unauthent
Missing authentication on NVD data endpoint in Flowise before 3.0.13 allows unauthenticated access to internal vulnerabi
Authenticated remote code execution in FlowiseAI Flowise (v3.0.1 up to but not including 3.0.8, and later versions when
Remote code execution in Flowise before 3.1.3 arises because its Pyodide Python-code validator (validatePythonCodeForDat
Remote code execution in FlowiseAI Flowise before 3.1.3 lets an attacker execute arbitrary OS commands as the Flowise pr
EUVD-2025-210342
GHSA-q2xp-j85q-883h
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB