Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate to Flowise as low-privilege user
-
DeliveryAccess Custom MCP node configuration panel
-
ExploitSubmit 'node_options' env var with --require payload to bypass denylist
-
InstallServer spawns stdio MCP child process with injected env var
-
C2Windows resolves 'node_options' as NODE_OPTIONS at OS level
-
ExecuteNode.js loads attacker's module in Flowise server context
-
ImpactExecute arbitrary code with server process privileges
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Case sensitivity handling
|
| Exploitation Conditions | Three specific conditions must all be true simultaneously: (1) Flowise must be running on a Windows operating system, since the bypass depends entirely on Windows treating 'node_options' and 'NODE_OPTIONS' as the same variable while the denylist code treats them as different strings; Linux and macOS deployments are not affected. (2) The Custom MCP stdio transport must be active - in pre-patch versions the default behavior could fall through to stdio if no SSE override was set and a command was provided, but the operator's deployment configuration determines whether stdio paths are reachable. (3) The attacker must be an authenticated Flowise user (PR:L) with sufficient permissions to configure a Custom MCP node. Exploitation is further limited by the attacker needing a path or mechanism to place a malicious require-able file accessible to the server process, or to reference a remote resource via the NODE_OPTIONS --require flag. Non-Windows deployments, instances without stdio-capable Custom MCP access, and unauthenticated actors cannot exploit this vulnerability. |
| Impact | The vendor-assigned CVSS 4.0 base score of 2.3 significantly understates the real-world impact when exploitation conditions are met. The low numerical score reflects AC:H and AT:P prerequisites - specifically the Windows platform requirement and the need for stdio mode to be explicitly enabled - rather than any limitation in post-exploitation impact, which is full server-side arbitrary code execution. EPSS data is not provided in the input. A POC is publicly confirmed by VulnCheck and a GitHub exploit repository, which elevates realistic risk beyond what the base score alone implies. No CISA KEV listing means active widespread exploitation is not confirmed at time of analysis, but the existence of a working POC in a public repository lowers the bar for exploitation by opportunistic actors. The critical limiting factor is the Windows-only platform constraint combined with the opt-in stdio mode: Flowise deployments on Linux or macOS are not affected, and instances where CUSTOM_MCP_PROTOCOL is not set to 'stdio' are not reachable via this vector. For Windows-hosted Flowise instances with untrusted authenticated users and stdio mode enabled, this represents a high-severity, authenticated RCE condition despite the low base score. |
| Exploit ScenarioDerived | An authenticated Flowise user on a Windows-hosted instance navigates to a Custom MCP stdio node configuration and sets an environment variable named 'node_options' (lowercase) with the value '--require /tmp/malicious.js', where the payload file is accessible to the server process. Because the denylist check compares 'node_options' against 'NODE_OPTIONS' with case-sensitive logic, the check passes, and the server spawns the stdio child process with the injected variable - which Windows resolves identically to NODE_OPTIONS - causing Node.js to load and execute the attacker's module within the Flowise server process context. A public POC demonstrating this technique is available at https://github.com/bikini/exploitarium/tree/main/flowise-mcp-env-case-bypass-poc. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 28, 2026
Arbitrary code execution in Flowise before 3.1.3 on Windows allows an authenticated user with Custom MCP node configuration access to bypass the NODE_OPTIONS environment variable denylist by supplying the lowercase variant 'node_options', exploiting a case-sensitive string comparison against a case-insensitive OS. The injected NODE_OPTIONS --require directive causes the Flowise server process to load an attacker-controlled module when spawning a Custom MCP stdio child process. A publicly available proof-of-concept exists per VulnCheck; the vulnerability is not listed in CISA KEV, and exploitation is constrained by Windows platform dependency and the requirement for stdio mode to be explicitly enabled.
RemediationAI
Vendor-released patch: Flowise 3.1.3. Upgrade to 3.1.3 or later immediately, particularly for any Windows-hosted deployments with authenticated users who have Custom MCP node configuration access. The patch at https://github.com/FlowiseAI/Flowise/pull/6471 replaces the denylist with an explicit allowlist (CUSTOM_MCP_ALLOWED_ENV_VARS), defaulting to no permitted environment variables, which eliminates the denylist bypass class entirely. If immediate upgrade is not possible, the most effective compensating control is to ensure CUSTOM_MCP_PROTOCOL is not set to 'stdio' - the patch also enforces that stdio mode requires the explicit CUSTOM_MCP_PROTOCOL=stdio setting, so instances not explicitly enabling stdio are not reachable; however, note that reverting to SSE transport may limit Custom MCP functionality. As a secondary control, restrict Custom MCP node configuration access to fully trusted, privileged users only, acknowledging that the stdio mode comment in the patched .env.example now warns: 'stdio can run arbitrary commands on your server, enable only if you trust all users'.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Flowise is an open-source visual LLM orchestration platform (cpe:2.3:a:flowise:flowise:*:*:*:*:*:*:*:*). Its Custom MCP (Model Context Protocol) node supports a stdio transport that spawns child processes with user-supplied environment variables. To prevent abuse of dangerous Node.js runtime variables such as NODE_OPTIONS, Flowise maintained a string denylist checked at configuration time. The root cause is CWE-178 (Improper Handling of Case Sensitivity): the denylist comparison used case-sensitive exact-match logic, but Windows environment variable names are case-insensitive at the OS level - so 'node_options' and 'NODE_OPTIONS' are the same variable to the runtime but different strings to the validator. The NODE_OPTIONS --require flag is a well-known Node.js mechanism that forces require() of a specified module before any other code runs, enabling arbitrary code injection into any spawned Node.js process. The fix in PR #6471 replaces the denylist paradigm entirely with an explicit allowlist controlled by the CUSTOM_MCP_ALLOWED_ENV_VARS operator configuration, defaulting to no permitted variables.
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:H/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
Network vector for remote authenticated user; AC:H for Windows-only platform plus opt-in stdio requirement; PR:L for authenticated user; scope changed as injected code executes in server OS process.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
4DescriptionCVE.org
Flowise before 3.1.3 validates Custom MCP stdio environment variables against a denylist using a case-sensitive comparison, so on Windows, where environment names are case-insensitive, supplying 'node_options' bypasses the NODE_OPTIONS denylist entry. An authenticated user who can configure a Custom MCP node can thereby inject NODE_OPTIONS --require and execute arbitrary code in the Flowise server context.
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
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-2026-39977
GHSA-rqqr-m697-6jq3
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB
VulDB