Flowise
CVE-2025-57164
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate and open Flowise flow editor
-
DeliveryInject JS payload into Supabase RPC Filter field
-
ExploitTrigger node via chatbot or workflow
-
Executionunsanitized string compiled and execSync runs OS command
-
ImpactReverse 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
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.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
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
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
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
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
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB