Aug 4, 2026·5 min read·29 visits
Flowise prior to 3.1.3 allows authenticated users with low-privilege API keys to read and delete files across different workspaces due to missing authorization checks on the `/api/v1/files` endpoint.
CVE-2026-69252 represents a missing authorization check (CWE-862) in the files API route (`/api/v1/files`) of Flowise, a drag-and-drop user interface for building LLM flows. Prior to version 3.1.3, an authenticated API key or user could list, access, and delete files across arbitrary workspaces inside an organization, completely bypassing workspace logical boundaries.
Flowise serves as a graphical user interface and orchestrator for assembling customized Large Language Model (LLM) processing chains. To facilitate this, the system exposes a web UI and a set of backend HTTP APIs to handle storage, prompt management, and workflow parameters.\n\nWithin multi-tenant or multi-user enterprise deployments, Flowise relies on 'workspaces' to maintain isolation boundaries between different teams, projects, or users. Assets uploaded to one workspace must remain inaccessible to users of other workspaces, even if those users share the same parent organization structure.\n\nPrior to version 3.1.3, Flowise failed to enforce workspace-level authorization checks on the file management endpoint (/api/v1/files). While authentication was validated, individual authorization checks (checkPermission) were omitted entirely. Consequently, any authenticated API key—regardless of its scoped permissions—could invoke actions to retrieve directory listings and delete files globally within the parent organization directory.
The core defect lies in a combination of Missing Function-Level Access Control (CWE-862) and Broken Object-Level Authorization (BOLA). In the Express routing layer of Flowise, the endpoint registration failed to bundle proper role-based access control or workspace verification middleware.\n\nInstead, the route relied exclusively on a plan-based feature gate:\ntypescript\nrouter.use('/files', IdentityManager.checkFeatureByPlan('feat:files'), filesRouter)\n\nThis check only validated that the organization's subscription tier or configuration had the file manager enabled. It did not perform any validation of user permissions or logical boundaries.\n\nInside the controllers, the file operations were executed with organizational scope rather than workspace scope. When listing files, the backend retrieved all files under the directory path constructed using activeOrganizationId, disregarding the requester's activeWorkspaceId. For deletion operations, the system accepted a relative path and concatenated it to the organization's base directory, allowing a malicious actor to supply paths targeting files belonging to different workspaces.
To understand the logical failure, it is useful to visualize the flow of requests through the vulnerable components.\n\nmermaid\ngraph LR\n Attacker[\"Attacker (Low-Privilege API Key)\"] -->|\"GET/DELETE /api/v1/files\"| Router[\"Express Route Router\"]\n Router -->|\"Only checks plan feature\"| Controller[\"Files Controller\"]\n Controller -->|\"No checkPermission validation\"| Storage[\"Organization Storage Root\"]\n Storage -->|\"Accesses files in sibling workspace\"| VictimWorkspace[\"Victim Workspace Files\"]\n\n\nThe vulnerability was resolved in commit bc22bf8baec95b6a3d6e1b3563b4f03491cd6fbb by disabling the endpoint entirely. Below is an examination of the changes applied in the patch.\n\nIn packages/server/src/routes/index.ts, the files router was commented out to completely strip the attack surface:\ndiff\n-import filesRouter from './files'\n...\n-router.use('/files', IdentityManager.checkFeatureByPlan('feat:files'), filesRouter)\n+// router.use('/files', IdentityManager.checkFeatureByPlan('feat:files'), filesRouter)\n\n\nAdditionally, the API endpoint was hard-coded into the API key blacklist array in packages/server/src/utils/constants.ts to prevent standard API keys from accessing the route even if it is active:\ndiff\n-export const API_KEY_BLACKLIST_URLS = ['/api/v1/nvidia-nim', '/api/v1/account/delete']\n+export const API_KEY_BLACKLIST_URLS = ['/api/v1/nvidia-nim', '/api/v1/account/delete', '/api/v1/files']\n\n\nThis remediation path represents a temporary 'fail-secure' strategy. The complete removal of the feature eliminates the vulnerability but leaves the software without file manager functionality until a robust, workspace-aware permission model is integrated.
Exploitation of CVE-2026-69252 requires the attacker to possess an authenticated session or a valid API key within the organization. Even an API key restricted to minor scopes, such as tools:view, is sufficient because the target controller does not query key permissions.\n\nTo list the contents of sibling workspaces, an attacker makes a standard GET request to the file API:\nbash\ncurl -i \\\n -H 'Authorization: Bearer <low_privilege_api_key>' \\\n http://localhost:8080/api/v1/files\n\nIf files are present, the server responds with an array of objects. Each object reveals the underlying directory structure, disclosing the target workspace IDs:\njson\n[\n {\n \"name\": \"confidential_keys.txt\",\n \"path\": \"f92a9a4d-392e-4db2-af82-d14e1d553446/confidential_keys.txt\",\n \"size\": 128\n }\n]\n\n\nWith the leaked workspace ID and filename, the attacker can execute an unauthorized deletion. The attacker sends a DELETE request with the path pointing to the sibling workspace file:\nbash\ncurl -i -X DELETE --get \\\n -H 'Authorization: Bearer <low_privilege_api_key>' \\\n --data-urlencode 'path=f92a9a4d-392e-4db2-af82-d14e1d553446/confidential_keys.txt' \\\n http://localhost:8080/api/v1/files\n\nThe server processes the deletion directly, returning {\"message\": \"file_deleted\"}. No checks are executed to verify if the requesting API key possesses write or deletion permissions in workspace f92a9a4d-392e-4db2-af82-d14e1d553446.
The impact of CVE-2026-69252 is twofold, affecting both the confidentiality and availability of sensitive deployment data. In enterprise environments, LLM orchestrators often host sensitive training sets, system prompts, API keys, and corporate documents containing proprietary information.\n\nFirst, the disclosure of file listings allows low-privileged insiders or compromised API tokens to map out the entire document library of the organization. This facilitates targeted data exfiltration by revealing the exact locations and filenames of private assets.\n\nSecond, the cross-workspace deletion capabilities introduce severe availability risks. Because LLM pipelines often rely on persistent document stores, vector databases, or local configurations to function, the deletion of these assets can disrupt user-facing services. This constitutes a full denial-of-service capability on dependent LLM agents.
To resolve CVE-2026-69252, operators must upgrade their installations of Flowise to version 3.1.3 or higher. The update implements the complete deprecation of the /api/v1/files routes on both the backend and frontend.\n\nFor instances where an immediate upgrade is not feasible, security administrators should deploy manual mitigations. This can be accomplished by editing the routing files locally inside packages/server/src/routes/index.ts to comment out the /files endpoint registration, matching the modifications implemented in the official patch.\n\nAdditionally, detection of exploitation attempts can be achieved through web server log analysis. Security Operations Centers (SOCs) should monitor for any DELETE requests aimed at /api/v1/files and inspect the path URL parameter for attempts to reference folders outside of the user's active workspace. Any access to /api/v1/files by low-privileged API tokens should be investigated as unauthorized activity.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N| Product | Affected Versions | Fixed Version |
|---|---|---|
Flowise FlowiseAI | < 3.1.3 | 3.1.3 |
| Attribute | Detail |
|---|---|
| CWE ID | CWE-862 |
| Attack Vector | Network (AV:N) |
| CVSS v4.0 Score | 7.2 (High) |
| Exploit Status | PoC (Proof-of-Concept) |
| Impact | Confidentiality (High), Availability (High) |
| KEV Status | Not Listed |
The software does not perform an authorization check when an actor attempts to access a resource or perform an action.
NATS Server prior to versions 2.12.8 and 2.14.3 contains an incorrect authorization vulnerability (CWE-863) in its message tracing subsystem. When evaluating whether a connection is permitted to publish trace events to a destination subject specified in the Nats-Trace-Dest header, the server only checks standard client permissions and omits permission checks for leaf node connections. This allows a connected leaf node operator with restricted publishing privileges to emit internal trace events to unauthorized subjects and suppress standard message delivery using the Nats-Trace-Only header.
CVE-2026-63341 is a high-severity Denial of Service (DoS) vulnerability in the Aedes MQTT broker for Node.js affecting all versions prior to 1.1.1. The flaw stems from missing input validation on the hierarchical depth of incoming MQTT topic strings before they are passed to the underlying topic-matching engine, qlobber. Because qlobber enforces a hardcoded limit of 100 topic levels and throws a synchronous exception when this threshold is exceeded, an attacker can send a single MQTT packet containing 101 or more forward-slash-separated levels to trigger an uncaught exception that immediately terminates the Node.js broker process.
CVE-2026-61725 is a path traversal vulnerability (CWE-22) in the sevenz-rust2 Cargo package prior to version 0.21.1. The vulnerability occurs because the decompression utility fails to validate or sanitize archive entry filenames before joining them with the destination directory path via std::path::Path::join. An attacker who supplies a crafted 7z archive containing parent directory traversal sequences or absolute paths can write or overwrite arbitrary files on the host filesystem with the privileges of the extracting process.
CVE-2026-77309 (GHSA-jrjx-9jjw-747m) is a high-severity unauthenticated remote code execution vulnerability affecting NASA-AMMOS AIT-GUI versions 1.0.0 through 2.5.0. The flaw results from chaining an incomplete file cleanup error in the telemetry query endpoint (/tlm/query) with a directory traversal flaw in the script execution endpoint (/script/run). An attacker on an adjacent network can stage arbitrary Python statements into a static file on disk and execute that file under the privileges of the AIT-GUI web server process.
A vulnerability classified under CWE-116 (Improper Encoding or Escaping of Output) exists in memtomem-stm versions 0.1.0 through 0.1.33. The software acts as a Model Context Protocol (MCP) short-term memory proxy gateway for AI agent architectures. When surfacing retrieved memories and scratchpad items into downstream Large Language Model (LLM) context envelopes, the SurfacingFormatter component fails to properly sanitize untrusted memory attributes. An attacker with the ability to plant untrusted content into the agent's long-term or working memory store can inject arbitrary structural delimiters, close the <surfaced-memories> XML boundary prematurely, visually obscure instructions using Unicode bidirectional overrides, and execute stored prompt injection attacks against downstream LLM agents.
CVE-2026-77331 (GHSA-72jh-722p-rqr3) is a concurrency and session-state synchronization vulnerability in memtomem-stm, a short-term memory proxy gateway for AI agents. In versions 0.1.2 prior to 0.1.34, concurrent Model Context Protocol (MCP) Remote Procedure Call (RPC) failures or mid-flight task cancellations can initiate duplicate reconnect loops and permit dirty or cancelled transport sessions to be reused. This deficiency results in session-state integrity loss and local service degradation.