Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach Flowise download endpoint over network
-
DeliveryCraft chatId with ../ traversal and valid UUID chatflowId
-
ExploitBypass containment via orgId-less fallback path
-
ExecutionstreamStorageFile reads /root/.flowise/database.sqlite
-
ImpactExfiltrate full database and stored secrets
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 only network reachability to the Flowise application's /api/v1/get-upload-file or /api/v1/openai-assistants-file/download endpoints with no authentication and no user interaction (CVSS AV:N/PR:N/UI:N). The specific trigger is supplying a chatId value containing path-traversal sequences together with a syntactically valid UUID chatflowId, so the unvalidated chatId reaches the orgId-less fallback path in streamStorageFile() after the containment check. The condition that maximizes impact is the default Flowise configuration, where the target SQLite database lives at /root/.flowise/database.sqlite. Limiting factors: the attacker must be able to reach the endpoints (internet-exposed or network-adjacent instances are at highest risk; instances behind authentication proxies or network ACLs are protected), and the chatflowId must pass UUID validation. Disclosure is bounded to files readable by the Flowise process, so running as non-root reduces reachable targets. |
| Impact | This is a genuine priority, not a high-score-low-risk case. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N) describes the easiest possible exploitation profile: network attack vector, low complexity, no attack requirements, no privileges, no user interaction, yielding high confidentiality impact - fully consistent with the unauthenticated arbitrary file read described. The description and exploitation path align cleanly with the vector, so there is no signal conflict on access requirements. Confidentiality impact is high (full database disclosure) while integrity and availability are None, correctly scoped. Key missing signals: EPSS exploitation-probability score was NOT provided in the input, KEV status was NOT provided (so this is NOT a confirmed actively-exploited vulnerability), and no public POC was supplied - exploitation is no public exploit identified at time of analysis. The mitigating factor is that the vulnerability only exposes data the Flowise process can read; however, because the default config stores credentials and all chat/flow data in /root/.flowise/database.sqlite, the practical blast radius (full database compromise, potential API keys/secrets) is severe. The combination of trivial exploitability and a documented code-level root cause means defenders should treat patching as urgent despite the absence of EPSS/KEV data. |
| Exploit ScenarioDerived | A remote, unauthenticated attacker who can reach the Flowise HTTP interface sends a crafted GET request to /api/v1/get-upload-file with a valid-looking UUID chatflowId and a chatId containing ../ traversal sequences, forcing the unprotected fallback path to resolve to /root/.flowise/database.sqlite. The server streams the SQLite database back in the response, handing the attacker every stored flow, chat record, and any secrets or API keys persisted there. No POC was provided in the input, but the advisory documents the exact vulnerable code path, making exploitation straightforward to reproduce. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 25, 2026
Unauthenticated arbitrary file read in Flowise before 3.0.6 lets remote attackers traverse outside the storage directory via the unvalidated chatId parameter on the /api/v1/get-upload-file and /api/v1/openai-assistants-file/download endpoints, reading sensitive files such as /root/.flowise/database.sqlite and dumping the entire application database in default deployments. The flaw was reported by VulnCheck with a vendor security advisory (GHSA-99pg-hqvx-r4gf), and while no public exploit was identified at time of analysis, the root cause and code path are fully documented in the advisory, lowering the barrier to weaponization. CVSS 4.0 base score is 8.7 (High), reflecting network-reachable, no-authentication, no-interaction exploitation with high confidentiality impact.
RemediationAI
Upgrade to Flowise 3.0.6 or later, which is the vendor-released patched version per the GHSA advisory and npm package metadata (Vendor-released patch: 3.0.6). Apply this as the primary fix and follow the advisory at https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-99pg-hqvx-r4gf. If immediate upgrade is not possible, place Flowise behind a reverse proxy or WAF and block or tightly restrict access to the /api/v1/get-upload-file and /api/v1/openai-assistants-file/download endpoints, or require authentication in front of them - the trade-off is that legitimate file-download/upload-retrieval and OpenAI assistant file features will break for users routed through the block. Additionally, run the Flowise process as a non-root, least-privilege user and relocate the storage directory away from sensitive paths so that even a successful traversal cannot reach /root/.flowise/database.sqlite or other secrets; note this reduces but does not eliminate disclosure of files the process can still read. Rotate any credentials or API keys stored in the database after patching, since unauthenticated exposure may already have occurred.
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 platform for building LLM/agentic applications, distributed as the npm package 'flowise'. The affected code lies in the streamStorageFile() helper used by file-download endpoints. Per the GHSA source evidence, streamStorageFile validates that chatflowId is a UUID and strips traversal sequences from fileName via sanitize(), but performs no validation on chatId. The intended file path is path.join(getStoragePath(), orgId, chatflowId, chatId, sanitizedFilename), and a containment check (filePath.startsWith(getStoragePath())) is applied. The defect is a fallback branch: when the primary file is absent, the code re-computes fallbackPath = path.join(getStoragePath(), chatflowId, chatId, sanitizedFilename) WITHOUT the orgId segment and evaluates it AFTER the containment check, so the unvalidated chatId can inject ../ sequences that escape the storage root. This maps to CWE-73 (External Control of File Name or Path): attacker-controlled input directly influences a filesystem path, here enabling path traversal to arbitrary local files. The single affected CPE is cpe:2.3:a:flowise:flowise:*:*:*:*:*:*:*:*.
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:N/VA:N/SC:N/SI:N/SA:N
Unauthenticated remote request triggers the flaw (AV:N/AC:L/PR:N/UI:N); impact is full file/database disclosure (C:H) with no integrity or availability effect (I:N/A:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
Flowise before 3.0.6 contains an arbitrary file read vulnerability in the chatId parameter of the /api/v1/get-upload-file and /api/v1/openai-assistants-file/download endpoints. The chatId value is not validated and is passed to streamStorageFile(), where a fallback file-lookup path constructed without the orgId is evaluated after the storage-directory containment check, allowing path traversal beyond the intended storage directory. Unauthenticated attackers can read sensitive files such as /root/.flowise/database.sqlite, exposing all database content in the default configuration.
Executive ViewAI
Flowise, a widely-deployed low-code AI platform, contains an unauthenticated file-read vulnerability allowing remote attackers to extract the entire application database, including API keys, credentials, and user conversation data. Organizations running Flowise before version 3.0.6 face immediate risk of complete data compromise with no vendor patch currently available.
No vendor-released patch identified at time of analysis. Implement interim mitigations: network isolation from untrusted environments, WAF rules blocking vulnerable endpoints, IP-based access restrictions to trusted sources only, immediate rotation of all stored credentials and API keys, database backup isolation, and access logging. Disable Flowise entirely if non-critical to operations. Monitor vendor repository and security advisories continuously for patch release.
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.
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-210336
GHSA-4pwq-xw7j-m297
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB