Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid Flowise API token
-
DeliveryCraft API request embedding traversal sequence in basePath parameter
-
ExploitSubmit request to Faiss or SimpleStore vector store endpoint
-
ExecutionFlowise writes data to attacker-specified arbitrary path
-
PersistPayload lands in sensitive filesystem location
-
ImpactTrigger execution of written payload for code execution
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid Flowise API token - the CVSS 4.0 PR:L metric confirms that low-privilege authentication is a hard prerequisite, making unauthenticated exploitation impossible. The target Flowise instance must be running a version prior to 3.1.0 and must have the Faiss or SimpleStore vector store backend active and accessible via the API; the AT:P metric in the CVSS 4.0 vector corresponds to this specific backend requirement. Exploitation is further constrained by the OS-level filesystem permissions of the user account running Flowise - if the process runs as a restricted user with write access limited to the application directory, the attacker cannot reach sensitive system paths (e.g., /etc, /var/spool/cron, web roots). No user interaction is required beyond initial API token acquisition. The primary limiting factors for defenders are: controlling API token issuance, running Flowise under a filesystem-restricted process user, and upgrading to 3.1.0. |
| Impact | The CVSS 4.0 base score of 4.9 reflects moderate severity, but the real-world risk profile is materially higher in certain deployment contexts. The vector AV:N/AC:L/AT:P/PR:L/UI:N indicates network-exploitable, low-complexity exploitation requiring a valid API token (PR:L) and a specific attack target condition (AT:P) corresponding to the Faiss or SimpleStore vector stores being active. The subsequent-system integrity impact of SI:H captures the potential for attacker-written files to achieve code execution on the broader host, which is the most dangerous realistic outcome and is reflected in the RCE tag assigned by VulnCheck. The VC:N/VI:L/VA:N ratings for the vulnerable system itself are consistent with the write-only nature of the traversal - confidentiality and availability are not directly impacted. No EPSS score was provided in the input data, and KEV status is negative, so no confirmed opportunistic or widespread exploitation pattern has been documented. Risk is substantially elevated in self-hosted Flowise instances where the process runs with broad filesystem privileges and where API tokens are shared across users or teams; it is considerably lower where the Flowise process is sandboxed to a restricted OS user and token issuance is tightly controlled. |
| Exploit ScenarioDerived | An attacker with a valid Flowise API token submits a crafted request to the Faiss or SimpleStore vector store API endpoint, supplying a basePath value containing directory traversal sequences such as '../../var/spool/cron/' or a path within a web-accessible directory. Flowise writes attacker-controlled vector store index data to the specified arbitrary path without restriction. Depending on the OS-level permissions of the Flowise process user, the attacker may overwrite cron jobs, drop a reverse shell script into a web root, or tamper with application configuration files to achieve persistent code execution on the host. No public proof-of-concept exploit code has been identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 08, 2026
Path traversal in Flowise's Faiss and SimpleStore vector store implementations allows any holder of a valid API token to write vector store data to arbitrary filesystem locations, creating a practical path to remote code execution or data exfiltration on the hosting server. All Flowise deployments prior to version 3.1.0 are affected when either of these two vector store backends is configured. No public exploit code has been identified at time of analysis and the vulnerability is not listed in CISA KEV, but the post-authentication exploitation path is low-complexity, making timely patching critical especially in multi-tenant or shared deployments where API tokens are broadly distributed.
RemediationAI
The primary fix is upgrading Flowise to version 3.1.0 or later, which remediates path traversal by sanitizing the basePath parameter within both the Faiss and SimpleStore vector store implementations. Consult the GitHub Security Advisory (https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-w6v6-49gh-mc9w) and VulnCheck advisory (https://www.vulncheck.com/advisories/flowise-path-traversal-in-vector-store-basepath-parameter) to confirm the patch. If an immediate upgrade is not feasible, the most effective compensating control is confining the Flowise process to a dedicated low-privilege OS user with write access restricted to the vector store directory via OS-level mandatory access control (AppArmor or SELinux policy) - this limits the attacker's ability to write to sensitive paths such as /etc, cron directories, or web roots, though it does not eliminate the traversal itself. Additionally, audit and restrict distribution of API tokens to the minimum necessary users, and place the Flowise API behind an internal network boundary or VPN to reduce the attacker pool. Note that network isolation alone does not protect against insider threats or compromised API credentials.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages 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-powered workflows, hosted at FlowiseAI/Flowise on GitHub. The vulnerability resides in two specific vector store integrations: FAISS (Facebook AI Similarity Search), a high-performance library for embedding similarity search, and SimpleStore, a lightweight in-process vector store. Both implementations expose a basePath configuration parameter that controls where index files are persisted to disk. In versions before 3.1.0, this parameter is accepted directly from API request input without sanitization or path confinement, a textbook CWE-22 (Path Traversal) root cause. By injecting directory traversal sequences such as '../../' into the basePath value, an authenticated attacker can redirect write operations outside the intended storage directory to any path accessible to the Flowise process user, including web roots, cron directories, or application configuration paths that could enable follow-on code execution.
Know when the next one hits your stack
- 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:P/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:H/SA:N
Valid API token required (PR:L); arbitrary filesystem write crosses component boundary (S:C) with high host integrity impact; no confidentiality or availability impact described.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
Lifecycle Timeline
1DescriptionCVE.org
Flowise before 3.1.0 contains a path traversal vulnerability in Faiss and SimpleStore vector store implementations that accept unsanitized basePath parameters from authenticated users. Attackers with valid API tokens can write vector store data to arbitrary filesystem locations, potentially enabling code execution or data exfiltration.
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.
EUVD-2026-42251
GHSA-g8g5-48h4-5r8h
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB