Skip to main content

Flowise CVE-2025-57164

MEDIUM
Command Injection (CWE-77)
2025-10-17 cve@mitre.org
6.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Access
    Authenticate and open Flowise flow editor
  2. Delivery
    Inject JS payload into Supabase RPC Filter field
  3. Exploit
    Trigger node via chatbot or workflow
  4. Execution
    unsanitized string compiled and execSync runs OS command
  5. Impact
    Reverse shell and full backend compromise

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK

1 technique 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 a deployed Flowise instance using the Supabase vector-store node, and an actor able to set/modify the 'Supabase RPC Filter' field of that node (the GHSA advisory states this is an authenticated admin user, though the supplied CVSS vector asserts PR:N - this discrepancy is unresolved in the data). The malicious filter string is only compiled and executed when the node is actually triggered via a chatbot or workflow run. Limiting factors: the Supabase vector store must be enabled and in use, the attacker needs the ability to author/edit flow node configuration, and the flow must be executed - so exploitation depends on configuration and workflow invocation rather than an unconditional default-config remote hit.

Impact

Severity signals conflict and must be reconciled before prioritizing. The supplied CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N = 6.5) models a network, low-complexity, unauthenticated flaw with only LOW confidentiality/integrity impact and no availability impact - yet the GHSA advisory documents full server-side OS command execution (reverse shells, env-secret leakage, full compromise), which is a HIGH C/I/A outcome. The scored C:L/I:L/A:N therefore understates real technical impact. The privilege field also conflicts: the CVSS vector asserts PR:N (unauthenticated), but the GHSA advisory explicitly requires an 'authenticated admin user' who logs in and configures a Supabase node, while the advisory's own title confusingly says 'Pre-Auth' - authentication requirements are not consistently confirmed across the available data and should be verified with the vendor. On exploitation likelihood: EPSS is low at 0.64% (51st percentile), there is no CISA KEV listing, and the vuln.today Decision label is 'this_month' (not act_now/emergency), which collectively indicate a real but non-emergency, likely-targeted rather than mass-exploited issue. A public PoC reference exists (the GHSA advisory with a working-looking reverse-shell payload) but the input marks it as reference only, not verified as working exploit code. Net: this is a genuine high-impact RCE worth patching on a normal cycle, not a drop-everything emergency - the low EPSS and absence of KEV, combined with an access barrier (admin/configuration control) implied by the advisory, keep it below the top tier despite the alarming RCE mechanism.

Exploit ScenarioDerived

An actor who can edit a Flowise flow (per the advisory, an authenticated admin) adds or modifies a Supabase vector-store node and places a JavaScript payload such as process.mainModule.require("child_process").execSync(...) into the 'Supabase RPC Filter' field; when the node is triggered via the chatbot or workflow, the string is compiled into a function and executed on the backend. This yields OS-level command execution in the Flowise server runtime, enabling environment-secret theft and a reverse shell. A public PoC reference exists in the GHSA advisory; it is not verified as working exploit code in the provided data.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.6% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 05, 2026

Remote code execution in Flowise 3.0.5 (and reportedly through 3.0.4) occurs when a user-controlled "Supabase RPC Filter" value is compiled and executed as server-side JavaScript in Supabase.ts, enabling OS command execution once the Supabase vector-store node is triggered. Exploitation requires a deployment using that node and an actor able to set or modify its filter field; the GHSA advisory describes an authenticated admin, while the supplied CVSS vector says PR:N and our assessed vector says PR:H, so authentication requirements remain unresolved. A public PoC reference exists but is not verified as working exploit code; EPSS is 0.64% (51st percentile), no CISA KEV active-exploitation signal is provided, and the vuln.today decision label is this_month.

RemediationAI

Vendor-released patch: Flowise 3.0.6, per npm/flowise data listing =3.0.5 vulnerable and 3.0.6 fixed; upgrade all Flowise instances using the Supabase vector-store node and verify the running version. The vendor advisory is https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-7944-7c6r-55vv. Until upgraded, restrict who can create or edit flow node configuration and avoid triggering workflows that pass attacker-controlled values into the Supabase RPC Filter or otherwise use the Supabase vector-store node; these compensating controls reduce exposure to the vulnerable execution path but do not fix the underlying code-execution flaw, and the affected-version boundary should be confirmed because the CVE text (through v3.0.4) differs from CPE/package data (3.0.5).

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

The affected technology is the FlowiseAI Flowise low-code LLM workflow platform, specifically the Supabase vector-store node at packages/components/nodes/vectorstores/Supabase/Supabase.ts#L237. The supabaseRPCFilter input is turned into executable JavaScript without filtering, escaping, or sandboxing, so an actor who controls that field can invoke Node.js primitives such as process.mainModule.require("child_process").execSync(...) when the node runs; the GHSA demonstrates environment-variable leakage and a reverse shell. NVD classifies this as CWE-77 command injection and the GHSA as CWE-94 code injection, both reflecting the same conversion of attacker-controlled configuration into executable logic. CPE cpe:2.3:a:flowiseai:flowise:3.0.5 identifies Flowise 3.0.5, and npm/flowise package data lists =3.0.5 as vulnerable and 3.0.6 as fixed, while the CVE description says through v3.0.4; the version boundary and the PR:N versus PR:H authentication signal are inconsistent across sources.

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 (mitre) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
vuln.today AI 7.2 HIGH

Advisory requires an authenticated admin to edit node configuration (PR:H); the unsanitized filter yields full backend OS command execution, so C/I/A High.

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

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

Flowise through v3.0.4 is vulnerable to remote code execution via unsanitized evaluation of user input in the "Supabase RPC Filter" field.

Threat Intelligence Overview

EPSS Score
0.6%
Top 49% exploitable
Prevalence
Low
niche open-source low-code LLM/agent builder, limited production enterprise footprint
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

53
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +32
PoC: +20
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.

Affected Products (CPE)CVE.org

cpe:2.3:a:flowiseai:flowise:3.0.5:*:*:*:*:*:*:*
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