Skip to main content

Flowise CVE-2025-71338

| EUVDEUVD-2025-210343 CRITICAL
External Control of File Name or Path (CWE-73)
2026-06-25 VulnCheck GHSA-c3hj-m5hq-59xw
10.0
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Reach /api/v1/document-store/loader/process over network
  2. Delivery
    Send fileName with ../ traversal + base64 payload
  3. Exploit
    Overwrite package.json start script
  4. Execution
    Wait for application/container restart
  5. Persist
    Start script runs injected command
  6. Impact
    Code 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 touch /tmp/pyozzi-poc && run-script-os). No credentials or user interaction are needed. The malicious command executes the next time the host runs the start script (e.g., on container or service restart), giving the attacker code execution as the Flowise process user.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.6% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

Flowise 0

Affected Packages

npm flowise no fix

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

Vendor (VulnCheck) PRIMARY 10.0 CRITICAL
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
vuln.today AI 10.0 CRITICAL

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
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

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.6%
Top 55% exploitable
Prevalence
Medium
popular open-source LLM/agent builder, common but not ubiquitous infrastructure
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL 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 No
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
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

51
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +50
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

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