Skip to main content

Flowise CVE-2025-61687

HIGH
Unrestricted Upload of File with Dangerous Type (CWE-434)
2025-10-06 security-advisories@github.com
8.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as low-privilege user
  2. Delivery
    Upload Node.js web shell via attachments endpoint
  3. Exploit
    Shell stored persistently unvalidated
  4. Execution
    Trigger shell via chained flaw or admin error
  5. Impact
    Execute arbitrary commands on server

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK

2 techniques across 2 tactics: Command and Control, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated account on the Flowise instance (PR:L) with access to the attachments/file-upload feature - this is the key limiting factor, so risk concentrates on internet-exposed or multi-tenant Flowise deployments where untrusted or low-trust users hold accounts. The upload path itself needs no special configuration: Flowise 3.0.7 performs no extension, MIME-type, or content validation on uploaded files (it only filters dangerous characters in file names), so default configurations are affected. The second limiting factor is that stored payloads do NOT auto-execute; reaching RCE requires a follow-on trigger (a chained vulnerability or an administrator inadvertently executing/serving the file), meaning a single upload alone yields persistent malicious file storage rather than immediate command execution.

Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H = 8.8 High) reflects a network-reachable, low-complexity flaw requiring only low-privilege authentication (PR:L). Publicly available exploit code exists (the GHSA-35g6-rrw3-v6xc advisory documents the full taint flow from route to file-save), so the barrier to weaponization is low. However, the technical impact is nuanced: the CVSS score assumes full C/I/A:H RCE, but the vendor advisory explicitly states the uploaded web shell 'does not automatically execute' - achieving code execution requires a secondary trigger via administrator error or a chained vulnerability. This means the 8.8 score somewhat overstates the immediate, unconditional impact: the primary vulnerability is a stored arbitrary-file-write/upload (CWE-434), and true RCE is a conditional follow-on. No EPSS score or CISA KEV listing was provided, so there is no signal of widespread automated or in-the-wild exploitation; the combination of PR:L (attacker must already be an authenticated user) plus the need for a trigger step suggests targeted, post-authentication abuse rather than mass exploitation. Net: a genuine high-severity issue for exposed multi-user Flowise instances, but the 'RCE' framing should be understood as requiring a chaining step, not a single-shot remote takeover.

Exploit ScenarioDerived

An attacker with valid low-privilege credentials to a Flowise instance uses the attachments upload endpoint (routed via Multer) to upload a Node.js web shell, which is stored persistently because the server validates neither file extension, MIME type, nor content. Public exploit/advisory detail exists, lowering the effort required. The shell sits dormant until the attacker triggers it via a second flaw or an admin action, at which point it exposes an HTTP endpoint that executes arbitrary OS commands on the host.

Act Now Prioritize within 24-48h. Why: HIGH severity + EPSS > 10%.
Patch available 11.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 30, 2026

Authenticated users can upload arbitrary files to Flowise 3.0.7 due to missing validation, enabling persistent storage of Node.js web shells that can lead to remote code execution if triggered. The vulnerability requires low-privilege authentication (PR:L) and has a CVSS score of 8.8; publicly available exploit code exists. While the uploaded shells do not auto-execute, they can be leveraged through administrator error or chained vulnerabilities, posing a high threat to system integrity and confidentiality.

RemediationAI

Upgrade to Flowise version 3.0.8, which contains the vendor-released patch. The advisory at https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-35g6-rrw3-v6xc provides further guidance. If upgrading is not immediately possible, restrict access to the attachments/file-upload feature to trusted users only, as the vulnerability requires authentication. Additionally, configure the web server to prevent execution of uploaded files in the upload directory (e.g., disable script execution for that path) and regularly scan for and remove suspicious uploaded files. Note that these workarounds may impact legitimate file upload functionality and require careful configuration.

Affected Packages

npm flowise fix: 3.0.8

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

Flowise is a Node.js-based drag-and-drop interface for building LLM flows. The vulnerability resides in the attachment upload functionality, specifically in the POST route handled by Multer, which fails to validate file extensions, MIME types, or content (CWE-434). The taint flow spans route registration, controller, service layer, and file storage utilities, allowing uploads of arbitrary files such as Node.js web shells. These shells expose HTTP endpoints for command execution if triggered. The affected component is identified by CPE cpe:2.3:a:flowiseai:flowise:3.0.7. The root cause is the absence of proper file type and content checks, enabling persistent storage of malicious scripts.

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

NVD PRIMARY 8.8 HIGH
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 8.8 HIGH

Network-reachable upload needs only a low-privilege account (PR:L) and no validation bypass (AC:L); I retain C/I/A:H because a stored web shell, once triggered, yields full host compromise.

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

CVSS VectorNVD

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

DescriptionNVD

Flowise is a drag & drop user interface to build a customized large language model flow. A file upload vulnerability in version 3.0.7 of FlowiseAI allows authenticated users to upload arbitrary files without proper validation. This enables attackers to persistently store malicious Node.js web shells on the server, potentially leading to Remote Code Execution (RCE). The system fails to validate file extensions, MIME types, or file content during uploads. As a result, malicious scripts such as Node.js-based web shells can be uploaded and stored persistently on the server. These shells expose HTTP endpoints capable of executing arbitrary commands if triggered. The uploaded shell does not automatically execute, but its presence allows future exploitation via administrator error or chained vulnerabilities. This presents a high-severity threat to system integrity and confidentiality. As of time of publication, no known patched versions are available.

Executive ViewAI

Why It Matters

Flowise 3.0.7, an open-source low-code LLM application builder used across the organization, permits authenticated users to upload arbitrary files, which can be stored as Node.js web shells and later executed to achieve remote code execution. Although the uploads require a valid low-privilege account and do not self-execute, publicly available exploit code lowers the skill barrier, and the absence of a vendor patch means any user with basic credentials - including contractors, interns, or a compromised account - could plant persistent backdoors on systems hosting sensitive AI workflows and connected data. Leadership should treat this as a high-priority exposure because a successful chain could compromise the confidentiality and integrity of data processed through Flowise and any downstream systems it can reach.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict network exposure of Flowise 3.0.7 to trusted networks/VPN, disable or restrict file-upload features for non-administrative users, enforce least privilege and MFA, deploy WAF rules blocking executable uploads, monitor Flowise storage directories and Node.js process activity for anomalies, and monitor vendor channels for a fixed release.

Threat Intelligence Overview

EPSS Score
11.1%
Top 4% exploitable
Prevalence
Medium
Popular open-source LLM-flow builder, but real production/self-hosted footprint is moderate
Exploit
POC
Public exploit code exists
Data Quality
5 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 HIGH
CISA KEV No
Public POC Yes
EPSS 11.1%
Patch available Yes
Active threat Yes
Deciding rule
HIGH severity + EPSS > 10%
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
No
Human Impact
High

Priority Score

75
Low Medium High Critical
KEV: 0
EPSS: +11
CVSS: +44
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Affected Products (CPE)NVD

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