Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate or send x-request-from:internal
-
DeliveryPOST crafted CSVAgent chatflow
-
ExploitInject Python into customReadCSV field
-
ExecutionPOST prediction to trigger pyodide
-
Persistos.system executes payload
-
ImpactRemote code execution on server
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the CSVAgent node with its user-controllable 'customReadCSV' (customReadCSVFunc) input, which is interpolated into pyodide-executed Python - the attacker must be able to create/run a chatflow containing that node via POST /api/v1/chatflows then POST /api/v1/prediction/[chatflowId]. Per the CVSS PR:L, authentication is normally required because /chatflows is not in the auth whitelist; however, if FLOWISE_USERNAME and FLOWISE_PASSWORD are NOT set, exploitation needs only the 'x-request-from: internal' HTTP header, effectively removing the auth barrier. Limiting factors: valid credentials (or the unset-credential/internal-header condition), network reach to the Flowise API, and the presence/usability of the CSVAgent node in the deployment. No end-user interaction is needed. |
| Impact | The signals are mostly consistent toward high real-world risk but not maximal urgency. CVSS 4.0 (9.4, critical) is AV:N/AC:L/AT:N/PR:L/UI:N with total confidentiality/integrity/availability impact including subsequent-system impact - network-reachable, low-complexity, requiring only low privileges and no user interaction, which matches full RCE. SSVC aligns: exploitation is 'poc', technical impact is 'total', but Automatable is 'no', reflecting that an attacker must first authenticate and construct a valid chatflow rather than spray a single request. EPSS is low-to-moderate (0.62%, 70th percentile), and the vulnerability is NOT in CISA KEV, so there is no evidence of widespread active exploitation despite the working PoC - consistent with SSVC's non-automatable rating and the authentication prerequisite. The one caveat that meaningfully lowers or raises risk depending on deployment is the 'x-request-from: internal' authentication bypass: if credentials are not configured (a common state for self-hosted/dev instances exposed to the network), PR:L effectively degrades toward unauthenticated access, sharply increasing exposure. Net: a genuine priority for any internet-exposed Flowise instance, especially unauthenticated ones, but not yet mass-exploited. |
| Exploit ScenarioDerived | An attacker with access to the Flowise API (either valid credentials, or merely the 'x-request-from: internal' header if no credentials are configured) POSTs a new chatflow containing a single CSVAgent node whose 'customReadCSV' field carries a Python command-injection payload. They then POST to /api/v1/prediction/[chatflowId], and the server executes the injected code (e.g., os.system) with the privileges of the Flowise process, yielding remote code execution. A working PoC is published in the GHSA advisory. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
Authenticated remote code execution in FlowiseAI Flowise (and the flowise-components package) prior to 3.1.0 arises from the CSVAgent node, which interpolates a user-supplied 'customReadCSV' Pandas string directly into Python code executed via pyodide. An authenticated attacker (or an unauthenticated one when FLOWISE_USERNAME/FLOWISE_PASSWORD are unset, via the 'x-request-from: internal' header bypass) can inject Python such as 'import os;os.system(...)' to run arbitrary commands on the server. Publicly available exploit code exists (PoC in the GHSA advisory); this is not listed in CISA KEV, and EPSS is modest at 0.62% (70th percentile).
RemediationAI
Vendor-released patch: upgrade Flowise and flowise-components to 3.1.0 or later (npm install flowise@3.1.0 / flowise-components@3.1.0), which fixes the CSVAgent interpolation; see the advisory at https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-9wc7-mj3f-74xv. If you cannot patch immediately, set strong FLOWISE_USERNAME and FLOWISE_PASSWORD so the 'x-request-from: internal' header cannot bypass authentication (note this only limits, not eliminates, risk since authenticated users can still exploit it), and avoid deploying or restrict the CSVAgent node in production flows. Additionally place Flowise behind a reverse proxy/VPN or network ACLs so the /api/v1/chatflows and /api/v1/prediction endpoints are not reachable from untrusted networks, and monitor for unexpected chatflow creation or process spawns from the Node.js/pyodide runtime; the trade-off of blocking those endpoints is loss of programmatic flow creation for legitimate automation.
Affected VersionsENISA
Affected Packages
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 a low-code, drag-and-drop builder for LLM/agent workflows built in TypeScript/Node.js. The flaw sits in packages/components CSVAgent.ts (around line 157), where the user-controlled 'customReadCSVFunc' is string-interpolated into a 'code' variable that is then passed to 'pyodide.runPythonAsync(code)'. This is a textbook CWE-94 (Improper Control of Generation of Code / code injection): rather than validating that the input is only a Pandas read expression, the server concatenates attacker text into executable Python, so a payload like 'DataFrame({'foo':['bar!']});import os;os.system('whoami')' is executed. The affected CPEs are cpe:2.3:a:flowiseai:flowise and cpe:2.3:a:flowiseai:flowise-components. Exploitation involves the REST API: POST /api/v1/chatflows to create a flow containing only the CSVAgent node, then POST /api/v1/prediction/[chatflowId] to trigger execution.
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
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Network-reachable API with low-complexity injection needs only low-privileged auth (PR:L, or bypassable), no UI; code escapes the pyodide context to run OS commands, so S:C with full C/I/A impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
4DescriptionCVE.org
Flowise is a drag & drop user interface to build a customized large language model flow. Prior to 3.1.0, The CSVAgent allows providing a custom Pandas CSV read code. Due to lack of sanitization, an attacker can provide a command injection payload that will get interpolated and executed by the server. This vulnerability is fixed in 3.1.0.
Zero Day Initiative Advisories
Executive ViewAI
FlowiseAI Flowise versions prior to 3.1.0 contain a critical remote code execution vulnerability in the CSVAgent node that allows authenticated attackers to execute arbitrary commands on the server. Organizations using Flowise for workflow automation or agent orchestration face complete infrastructure compromise; risk amplifies if deployments do not enforce authentication credentials.
Apply vendor patch.
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.
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
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
EUVD-2026-25277
GHSA-9wc7-mj3f-74xv
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB