Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach /api/v1/document-store/loader/process over network
-
DeliverySend fileName with ../ traversal + base64 payload
-
ExploitOverwrite package.json start script
-
ExecutionWait for application/container restart
-
PersistStart script runs injected command
-
ImpactCode execution as Flowise process user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
|
| Exploitation Conditions | No special conditions - remote unauthenticated exploitation against default configurations of Flowise <= 2.2.7, exploitable directly via the network-reachable /api/v1/document-store/loader/process endpoint with a fileName parameter containing ../ traversal sequences. The primary limiting factor is the RCE trigger: the package.json overwrite technique requires the application to restart (re-running the start/build script) before injected code executes, so payload execution is deferred rather than immediate; an attacker may also rely on alternative writable targets for faster execution. Exploitation requires that the instance be network-reachable and that the process have write permission to the targeted file (e.g., package.json), so read-only deployment or strict file permissions reduce feasibility. |
| Impact | All available signals point to maximum priority. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes network-reachable, low-complexity, unauthenticated exploitation with no user interaction, and full High impact across confidentiality, integrity and availability of both the vulnerable and subsequent systems, yielding a 10.0. A working PoC is published in the vendor's GHSA advisory and corroborated by VulnCheck, so exploitation is proven feasible rather than theoretical. No EPSS score and no CISA KEV entry were provided in the input, so I cannot confirm widespread or active in-the-wild exploitation; the absence of KEV suggests it is not yet a documented mass-exploitation event, but given the trivial unauthenticated nature and public PoC, defenders should treat exploitation as imminent. One nuance limiting blast radius: RCE via the package.json technique is not instantaneous - it triggers when the application restarts and re-runs the start script - though arbitrary file write also enables other immediate RCE paths. |
| Exploit ScenarioDerived | An attacker on the network sends a single crafted POST to /api/v1/document-store/loader/process with a fileName like ../../../../package.json and base64 file content that rewrites the scripts.start entry to include an attacker command (the published PoC uses |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 25, 2026
Arbitrary file write leading to remote code execution in FlowiseAI Flowise (versions <= 2.2.7) lets unauthenticated remote attackers overwrite any file on the host via the /api/v1/document-store/loader/process endpoint. The fileName parameter is passed unsanitized into path.join() inside storageUtils.ts, so ../ sequences escape the storage directory; overwriting package.json injects a malicious start script that executes on the next application restart. Publicly available exploit code exists (vendor GHSA PoC overwriting package.json), and the issue carries a CVSS 4.0 base score of 10.0; no public active-exploitation listing was identified at time of analysis.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - apply the upstream remediation commit https://github.com/FlowiseAI/Flowise/commit/c2b830f279e454e8b758da441016b2234f220ac7 referenced in the GHSA advisory, and monitor https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-8vvx-qvq9-5948 for a tagged release above 2.2.7 since no fixed version is published in package metadata. Until a tagged build is confirmed, place Flowise behind authentication and a reverse proxy that blocks or rejects requests to /api/v1/document-store/loader/process from untrusted networks, and restrict network exposure so the instance is not internet-facing (trade-off: breaks legitimate remote document-store ingestion). As a compensating control, run the Node process under a low-privilege user with the application directory and package.json mounted read-only so traversal writes to critical manifests fail (trade-off: may break features that legitimately write to storage and require build-time write access). Validate and reject any fileName containing ../ or absolute paths at the proxy/WAF layer as an interim filter.
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 orchestration and AI agent workflows, distributed as the npm package 'flowise'. The flaw is rooted in CWE-73 (External Control of File Name or Path): the file-storage helpers addBase64FilesToStorage, addArrayFilesToStorage, and addSingleFileToStorage in packages/components/src/storageUtils.ts construct a destination via path.join(dir, fileName) followed by fs.writeFileSync(filePath, bf), where fileName originates from untrusted request input. Because path.join resolves ../ traversal segments, the effective write target can be relocated to any location the Node process can write to. The document-store loader/process API surfaces this primitive without authentication, turning a file-write into RCE by overwriting build/run manifests such as package.json.
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:H/SI:H/SA:H
Network-reachable, low-complexity, unauthenticated file write with no user interaction yields full RCE; scope changed (S:C) as the write escapes the storage sandbox to host files.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Flowise contains a path traversal vulnerability in the /api/v1/document-store/loader/process endpoint that allows unauthenticated attackers to write arbitrary files to the filesystem. Attackers can exploit unsanitized fileName parameters with ../ sequences to overwrite critical files like package.json and achieve remote code execution when the application restarts.
Executive ViewAI
FlowiseAI Flowise versions 2.2.7 and earlier contain a critical unauthenticated remote code execution vulnerability with publicly available exploit code, CVSS 10.0 severity, and no vendor patch identified. The attack requires only network access to the document-store endpoint and allows complete system compromise through arbitrary file write and malicious script injection. All organizations running affected versions face immediate risk of data breach and operational disruption.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Network segmentation-restrict Flowise access to internal/trusted networks only; (2) Endpoint blocking-implement WAF rules to block /api/v1/document-store/loader/process if operationally feasible, or disable at application level; (3) File integrity monitoring-monitor package.json, configuration files, and startup scripts for unauthorized modifications; (4) Privilege reduction-run Flowise with minimal user privileges and restricted filesystem access; (5) Detection-enable application logging and alert on requests to vulnerable endpoint and unexpected application restarts; (6) Isolation-consider containerized deployment with read-only root filesystem as additional control layer.
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.
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-210343
GHSA-c3hj-m5hq-59xw
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB