CVE-2026-56273: Flowise Path Traversal in Vector Store – Impact & Patch Guidance
Flowise versions before 3.1.0 contain a security flaw that allows authenticated users with valid API tokens to write data to unintended locations on the server's filesystem. An attacker exploiting this vulnerability could direct vector store data (embeddings and related metadata) to arbitrary paths, potentially overwriting critical files or achieving code execution on the affected system. The vulnerability stems from insufficient validation of file path parameters, a common pattern known as path traversal. Because exploitation requires a valid API token, the risk is limited to threats from compromised credentials or malicious insiders with legitimate access.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 6.5 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- Weaknesses (CWE)
- CWE-22
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-07-08 / 2026-07-09
NVD description (verbatim)
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.
3 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-56273 is a path traversal vulnerability (CWE-22) affecting Flowise's Faiss and SimpleStore vector store implementations. The vulnerability exists in how these components handle the basePath parameter, which is accepted directly from authenticated API requests without proper normalization or validation. An attacker with a valid API token can supply specially crafted basePath values containing directory traversal sequences (e.g., '../../../') to write vector store files—which may include serialized Python objects or executable code—to arbitrary filesystem locations outside the intended storage directory. The CVSS 3.1 score of 6.5 (MEDIUM severity) reflects the integrity impact (high) and authentication requirement, with no direct confidentiality or availability consequences in the base metric.
Business impact
Successful exploitation could lead to integrity compromise of the application and underlying server. If an attacker writes malicious files to directories in the application's module path or web root, code execution becomes possible. Data exfiltration risks also exist if sensitive files can be overwritten or if the attacker gains write access to backup or log directories. For organizations using Flowise in production AI/ML pipelines, this vulnerability poses a moderate but material risk, especially in zero-trust or defense-in-depth strategies where API token compromise should not automatically grant filesystem write access beyond application-controlled boundaries.
Affected systems
Flowise versions prior to 3.1.0 are affected. The vulnerability is specific to the Faiss and SimpleStore vector store backends; other vector store implementations in Flowise may not be vulnerable. The risk is limited to deployments where API access is available to untrusted or insufficiently monitored users, and where the application runs with sufficient filesystem permissions to write across multiple directories.
Exploitability
Exploitation requires a valid API token, which raises the barrier compared to unauthenticated vulnerabilities. However, in environments with weak token management, token reuse across services, or tokens embedded in client-side code, this requirement is not a strong control. An attacker would craft a request with a malicious basePath parameter and invoke the vector store creation or update endpoint. No user interaction is required, and the network is directly accessible to any holder of a valid token. The attack is straightforward once credentials are obtained.
Remediation
Upgrade Flowise to version 3.1.0 or later, which addresses the path traversal vulnerability by implementing proper basePath validation and normalization. In addition to patching, review API token distribution, rotation policies, and access controls to limit exposure of valid credentials. Consider implementing filesystem-level restrictions (e.g., chroot, containers, SELinux) to constrain the scope of write operations even if the application vulnerability is exploited.
Patch guidance
Apply Flowise version 3.1.0 or newer as soon as feasible. Verify the patch against the vendor advisory to confirm which vector store implementations are addressed. If you are unable to patch immediately, disable or restrict API access for untrusted users and monitor API logs for suspicious basePath parameters (those containing '..', '/', or other traversal indicators). Consider deploying the application in a container or isolated filesystem to limit the damage of a successful exploit.
Detection guidance
Monitor API logs for requests to vector store endpoints (Faiss, SimpleStore) that include basePath parameters with traversal sequences such as '../', '..\', or absolute paths beginning with '/'. Flag any POST or PUT requests where the basePath value differs significantly from expected naming conventions or exceeds the application's configured storage directory. Endpoint access logs and application-level audit trails should capture token usage patterns; correlate token use with suspicious filesystem writes to non-standard directories. File integrity monitoring on directories outside the intended vector store location can also detect unauthorized writes.
Why prioritize this
This vulnerability merits prompt but not emergency attention. The MEDIUM CVSS score, authentication requirement, and limited scope (specific vector store implementations) place it below critical/high-severity vulnerabilities. However, the potential for code execution if exploited, combined with the ease of exploitation once a token is compromised, justifies prioritization within your patch windows. Assess your API token distribution and monitoring practices first; if tokens are tightly controlled and monitored, you can defer patching slightly. If tokens are widely distributed or embedded in client code, prioritize the upgrade.
Risk score, explained
CVSS 3.1 score of 6.5 reflects a vulnerability with high integrity impact (attacker can overwrite files) and a requirement for low-privilege authentication (PR:L). No confidentiality loss or availability impact is implied by the base score, though exploitation could indirectly lead to both. The MEDIUM severity is appropriate given the need for valid credentials and the specificity to two vector store backends; widespread damage is not automatic, but potential for code execution elevates the concern beyond a simple information disclosure or low-impact file write.
Frequently asked questions
Does this vulnerability affect all vector store backends in Flowise?
No. The vulnerability is specific to the Faiss and SimpleStore implementations. Other vector store backends (e.g., Pinecone, Weaviate, Milvus) are not affected by this path traversal issue.
What happens if our Flowise instance does not have internet access?
Network isolation reduces the likelihood of mass exploitation, but does not eliminate risk from insider threats or compromised internal credentials. If an attacker gains a valid token through internal compromise or misconfiguration, the vulnerability remains exploitable regardless of external connectivity.
Can we use filesystem permissions to protect against this?
Yes, partially. Restricting the Flowise process to write only within a designated vector store directory (via Linux DAC, AppArmor, or SELinux) provides defense-in-depth. However, this should not be considered a substitute for patching, as the application should be responsible for its own input validation.
Is there a workaround if we cannot upgrade immediately?
Disable API access to vector store endpoints if the functionality is not actively used, or restrict API token creation and validate token scope. Monitor logs aggressively for suspicious basePath parameters. None of these are true fixes; upgrade as soon as possible.
This analysis is provided for informational purposes and represents current understanding based on published vendor data and CVSS metrics as of the publication date. No exploit code or proof-of-concept is provided herein. Readers should verify patch availability and compatibility with their specific Flowise deployment before applying updates. SEC.co does not guarantee the completeness or accuracy of this assessment; consult the official Flowise security advisory and your own security team for definitive guidance. This vulnerability may evolve with new disclosures or vendor corrections. Source: NVD (public-domain), retrieved 2026-08-17. Analysis generated by SEC.co (claude-haiku-4-5).
Weaknesses (CWE)
Related vulnerabilities
- CVE-2018-25393MEDIUMNavigate CMS 2.8.5 Path Traversal Vulnerability (CVSS 6.5)
- CVE-2018-25421MEDIUMOpen STA Manager 2.3 Path Traversal File Download Vulnerability
- CVE-2019-25734MEDIUMContact Form by WD CSRF & Local File Inclusion Vulnerability
- CVE-2019-25740MEDIUMJoomla com_jsjobs Arbitrary File Deletion Vulnerability
- CVE-2022-50953MEDIUMWordPress admin-word-count-column Plugin Local File Read Vulnerability
- CVE-2024-47263MEDIUMSynology Hyper Backup Path Traversal – Admin Privilege Required
- CVE-2024-47273MEDIUMSynology Hyper Backup Path Traversal Vulnerability (4.3 MEDIUM)
- CVE-2025-24268MEDIUMmacOS Path Traversal Vulnerability – Patch Sequoia 15.4