Skip to main content

Flowise EUVDEUVD-2026-25277

| CVE-2026-41137 CRITICAL
Code Injection (CWE-94)
2026-04-23 GitHub_M GHSA-9wc7-mj3f-74xv
9.4
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Authenticate or send x-request-from:internal
  2. Delivery
    POST crafted CSVAgent chatflow
  3. Exploit
    Inject Python into customReadCSV field
  4. Execution
    POST prediction to trigger pyodide
  5. Persist
    os.system executes payload
  6. Impact
    Remote 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
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 – 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

Flowise < 3.1.0
flowise-components < 3.1.0

Affected Packages

npm flowise fix: 3.1.0
npm flowise-components fix: 3.1.0

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

Vendor (GitHub_M) PRIMARY 9.4 CRITICAL
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
vuln.today AI 9.9 CRITICAL

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/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:H/SI:H/SA:H

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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
High
Subsequent system: Integrity
High
Subsequent system: Availability
High

Lifecycle Timeline

4
Patch released
Apr 24, 2026 - 15:15 nvd
Patch available
Patch available
Apr 23, 2026 - 21:01 EUVD
CVSS changed
Apr 23, 2026 - 20:26 NVD
9.4 (CRITICAL)
CVE Published
Apr 23, 2026 - 19:10 nvd
CRITICAL 9.4

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

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.6%
Top 30% exploitable
Prevalence
Medium
popular open-source LLM flow-builder, common in AI dev but not universal
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA 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.6%
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
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +47
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.

Code Injection CRITICAL

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.

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