Skip to main content

Flowise CVE-2025-71336

| EUVDEUVD-2025-210342 CRITICAL
OS Command Injection (CWE-78)
2026-06-25 VulnCheck GHSA-q2xp-j85q-883h
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Reach exposed Flowise API
  2. Delivery
    POST to /api/v1/node-load-method/customMCP with x-request-from:internal
  3. Exploit
    Inject command and args in mcpServerConfig
  4. Execution
    Flowise spawns child process unsandboxed
  5. Persist
    nc reverse shell to attacker
  6. Impact
    Full 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.7% exploitation probability (EPSS)

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

Alert me

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

Flowise 0 <3.0.6

Affected Packages

npm flowise fix: 3.0.6

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

Vendor (VulnCheck) PRIMARY 9.3 CRITICAL
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
vuln.today AI 9.8 CRITICAL

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/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
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jun 25, 2026 - 23:04 EUVD

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.7%
Top 51% exploitable
Prevalence
Medium
popular open-source LLM flow builder, common but not universally deployed
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL 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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.7%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

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