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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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
Lifecycle Timeline
2DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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.
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.
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
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
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
Remote code execution in Flowise before 3.1.3 arises because its Pyodide Python-code validator (validatePythonCodeForDat
Remote command execution in Flowise <= 3.1.2 lets an authenticated user break out of the vm2/@flowiseai/nodevm JavaScrip
Arbitrary file read and write in FlowiseAI Flowise (versions 2.2.8 through 3.0.5) lets remote unauthenticated attackers
Authenticated remote code execution in FlowiseAI Flowise prior to 3.1.2 allows any user with a valid session or API key
Remote code execution in Flowise before 3.1.3 lets authenticated users abuse the Custom MCP node - when CUSTOM_MCP_PROTO
Same weakness CWE-73 – External Control of File Name or Path
View allSame technique File Upload
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2025-210339
GHSA-grch-cc26-w2fv