Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed Flowise server
-
DeliveryPOST to whitelisted /api/v1/attachments (no auth)
-
ExploitInject path traversal in chatId/chatflowId
-
ExecutionWrite webshell to arbitrary directory
-
PersistRequest planted file to execute
-
ImpactRemote code execution and server compromise
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
|
| Exploitation Conditions | Exploitation requires that Flowise be configured with storageType set to local, which is the documented default - so out-of-the-box installations are exploitable. No authentication is required (PR:N): the /api/v1/attachments route is explicitly whitelisted in WHITELIST_URLS and bypasses the API-key middleware, and no user interaction is needed (UI:N). The concrete prerequisite is network reachability of the /api/v1/attachments endpoint plus attacker-controlled path-traversal input in the chatId and chatflowId parameters. Limiting factors: deployments that change storageType to a non-local backend (e.g. cloud object storage) remove the vulnerable local-write path, and instances not network-exposed or fronted by a proxy that blocks traversal or the attachments route reduce realistic exploitability. |
| Impact | All available signals point to a genuine high priority. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a network-reachable, low-complexity, unauthenticated attack with no user interaction and high confidentiality/integrity/availability impact on the vulnerable system - among the most exploitable profiles possible, and consistent with the description of pre-auth file upload leading to RCE. The vulnerability is reachable against the default configuration (storageType=local), which removes the usual 'only-if-misconfigured' caveat. EPSS and CISA KEV data were not provided in the input, so widespread automated exploitation cannot be confirmed or ruled out; absence of a KEV listing should not be read as low risk given the trivial exploitation path. The main uncertainty is patch status: the input lists 'fixed in: None' alongside a remediation commit, so defenders cannot yet pin a clean released version - see remediation and confidence notes. |
| Exploit ScenarioDerived | An attacker who can reach a Flowise instance over the network sends a crafted POST to the whitelisted /api/v1/attachments endpoint without any credentials, embedding path-traversal sequences in the chatId/chatflowId parameters to write a malicious file (e.g. a Node.js or web-executable payload) into a directory of their choosing. They then trigger or request the planted file to gain remote code execution and pivot to full server compromise. No public exploit is identified at time of analysis, but the attack is low-complexity given AV:N/AC:L/PR:N. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 25, 2026
Unauthenticated arbitrary file upload in Flowise (versions through 2.2.7) lets remote attackers write malicious files to arbitrary locations on the server via the whitelisted /api/v1/attachments endpoint when storageType is set to local (the default). Because the chatId and chatflowId parameters are vulnerable to path traversal, an attacker can escape the intended upload directory and drop a webshell or other executable payload, leading to remote code execution and full server compromise. No public exploit identified at time of analysis, but the flaw is trivially reachable (CVSS 4.0 9.3) and was reported by VulnCheck with a vendor security advisory.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - the fix is referenced as commit https://github.com/FlowiseAI/Flowise/commit/c2b830f279e454e8b758da441016b2234f220ac7 but the input lists no tagged patched release ('fixed in: None'), so confirm the corresponding release with the vendor advisory before relying on a version number. Apply the latest available Flowise build that includes that commit and consult https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-h42x-xx2q-6v6g for the canonical fix. As compensating controls until a confirmed release is deployed: switch storageType away from local (e.g. to an object-storage backend like S3) so the local-path write primitive is removed, accepting the trade-off of reconfiguring attachment storage; place Flowise behind a reverse proxy or WAF rule that blocks path-traversal sequences (../, encoded variants) and restricts or denies external access to the /api/v1/attachments endpoint, accepting that legitimate attachment uploads from untrusted networks will also be blocked; and restrict network exposure of the Flowise server to trusted internal users, accepting reduced reachability for remote/SaaS use cases.
Affected VersionsENISA
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
Flowise is an open-source, low-code drag-and-drop builder for LLM/agent workflows built on a Node.js/TypeScript server (npm package 'flowise'). The root cause is CWE-73 (External Control of File Name or Path): the /api/v1/attachments route is part of the WHITELIST_URLS set in packages/server/src/index.ts, meaning the global authentication middleware deliberately skips API-key validation for it. With authentication bypassed, the upload handler trusts the user-supplied chatId and chatflowId values when constructing the destination path on the local filesystem (storageType=local). Supplying traversal sequences (e.g. ../) in those parameters lets the attacker control the write directory, so an uploaded file can land in a location from which it can be served or executed, converting a file-upload primitive into code 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:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Endpoint is network-reachable and whitelisted past auth (AV:N/PR:N), input-only traversal is low-complexity with no user interaction (AC:L/UI:N), and arbitrary file write enabling RCE yields full C:H/I:H/A:H.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Flowise through 2.2.4 contains an unauthenticated arbitrary file upload vulnerability in the /api/v1/attachments endpoint when storageType is set to local. Attackers can exploit path traversal in the chatId and chatflowId parameters to upload malicious files to arbitrary directories, potentially enabling remote code execution and server compromise.
Executive ViewAI
Flowise versions 2.2.7 and earlier contain a critical unauthenticated remote code execution vulnerability affecting organizations running the product on default configurations. An attacker can upload arbitrary files and execute code on the application server, resulting in complete system compromise and potential access to customer data and business logic processed through Flowise deployments. Mitigation is required immediately as the vulnerability is trivially exploitable and impacts default out-of-the-box configurations.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Enforce firewall rules blocking external access to /api/v1/attachments endpoint; (2) Reconfigure storageType to cloud object storage with immutable deployment settings; (3) Apply WAF rules blocking path traversal sequences (../, %2e%2e/, etc.) in request parameters; (4) Remove execute permissions from upload directories and validate all file uploads against whitelist; (5) Isolate Flowise containers/servers on restricted network segments with outbound filtering to prevent reverse shells.
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
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
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.
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-2025-210339
GHSA-grch-cc26-w2fv
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB