Skip to main content

Flowise CVE-2026-58057

| EUVDEUVD-2026-39977 LOW
Improper Handling of Case Sensitivity (CWE-178)
2026-06-28 VulnCheck GHSA-rqqr-m697-6jq3
2.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Authenticate to Flowise as low-privilege user
  2. Delivery
    Access Custom MCP node configuration panel
  3. Exploit
    Submit 'node_options' env var with --require payload to bypass denylist
  4. Install
    Server spawns stdio MCP child process with injected env var
  5. C2
    Windows resolves 'node_options' as NODE_OPTIONS at OS level
  6. Execute
    Node.js loads attacker's module in Flowise server context
  7. Impact
    Execute 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Flowise 0 <3.1.3

Affected Packages

euvd flowise fix: 3.1.3

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

Vendor (VulnCheck) PRIMARY 2.3 MEDIUM
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
vuln.today AI 8.5 HIGH

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.

3.1 AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
Patch available
Jun 28, 2026 - 03:01 EUVD
Severity Changed
Jun 28, 2026 - 02:22 NVD
MEDIUM LOW
CVSS changed
Jun 28, 2026 - 02:22 NVD
5.0 (MEDIUM) 2.3 (LOW)
CVE Published
Jun 28, 2026 - 01:32 cve.org
LOW 2.3

DescriptionCVE.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

EPSS Score
0.2%
Top 85% exploitable
Prevalence
Medium
popular open-source LLM flow builder, growing AI community adoption
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL Exploit-DB GitHub VulDB

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +12
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2025-8943 CRITICAL POC
9.8 Aug 14

Flowise versions before 3.0.1 allow unauthenticated access to the Custom MCPs feature, which is designed to execute OS c

CVE-2025-26319 CRITICAL POC
9.8 Mar 04

FlowiseAI Flowise version 2.2.6 contains an arbitrary file upload vulnerability in the /api/v1/attachments endpoint. Una

CVE-2025-61913 CRITICAL POC
9.9 Oct 08

Arbitrary file read and write in Flowise versions prior to 3.0.8 allows an authenticated attacker with access to the flo

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2025-58434 CRITICAL POC
9.8 Sep 12

Flowise is a drag & drop user interface to build a customized large language model flow. Rated critical severity (CVSS 9

CVE-2025-61687 HIGH POC
8.8 Oct 06

Authenticated users can upload arbitrary files to Flowise 3.0.7 due to missing validation, enabling persistent storage o

CVE-2026-30821 CRITICAL POC
9.8 Mar 07

Unrestricted file upload in Flowise LLM workflow builder before 3.0.13 via /api/v1/attachments endpoint allows unauthent

CVE-2026-30824 CRITICAL POC
9.8 Mar 07

Missing authentication on NVD data endpoint in Flowise before 3.0.13 allows unauthenticated access to internal vulnerabi

CVE-2025-34267 HIGH POC
8.4 Oct 14

Authenticated remote code execution in FlowiseAI Flowise (v3.0.1 up to but not including 3.0.8, and later versions when

CVE-2026-70470 CRITICAL POC
9.5 Aug 04

Remote code execution in Flowise before 3.1.3 arises because its Pyodide Python-code validator (validatePythonCodeForDat

CVE-2026-69264 CRITICAL POC
9.4 Aug 04

Remote code execution in FlowiseAI Flowise before 3.1.3 lets an attacker execute arbitrary OS commands as the Flowise pr

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy