CVE-2026-69252: Flowise: Missing authorization on `/api/v1/files` allows low-privileged API keys to list and delete files across workspaces within the same organization
Flowise 3.1.2 and earlier does not check permissions on `/api/v1/files`. Any API key in the organization, even one scoped to something unrelated like `tools:view`, can list and delete files stored for other workspaces. Upgrade to 3.1.3, which turns the route off.
Published Aug 4, 2026 · Analysis Nov 8, 2026
What an attacker can do
The /files route is mounted with only the feat:files plan gate from IdentityManager.checkFeatureByPlan. It has no checkPermission(...) call on GET or DELETE. getAllFiles uses only req.user.activeOrganizationId and lists the whole organization's storage root recursively. deleteFile reads activeWorkspaceId just for quota bookkeeping, then deletes the path built from the organization ID and a user-controlled path value.
The key's permissions and workspace are never used to limit access. The reporter made a key bound to one workspace with only ["tools:view"]. It listed a file in a different workspace with GET /api/v1/files, then removed it with DELETE /api/v1/files?path={workspace-id}/poc-cross-workspace.txt and got file_deleted.
The attacker needs any API key in the organization. Workspace isolation is lost: they can see file names and sizes in other workspaces and delete files that belong to others, such as uploads used by chatflows. The impact is on confidentiality of the file listing and on availability and integrity of the stored files. The advisory does not show file contents being read.
Who is affected
The npm package flowise at 3.1.2 and earlier, on deployments where the feat:files feature is available and the organization has more than one workspace or key holder with limited rights. Single-user installs with one workspace have little to isolate.
npm ls flowiseTo test, call GET /api/v1/files with a key that has an unrelated permission, and see whether it returns files.
flowise
- Ecosystem
- npm
- Affected
- <= 3.1.2
- Fixed in
- 3.1.3
- Check
npm ls flowise
How to fix it
Upgrade flowise to 3.1.3:
npm install -g [email protected]The fix in pull request 6435 disables the /files route. It removes the route's registration on the server and in the UI, and adds /api/v1/files to the API key blacklist, so the endpoint can no longer be reached. It does not add a permission check, so anything that relied on this endpoint will stop working.
Until you upgrade, rotate or remove low-privilege API keys you do not trust, and block /api/v1/files at your reverse proxy.
How to tell if you were hit
Look in access logs for GET and DELETE requests to /api/v1/files from API keys that have no file permission, especially a DELETE with a path pointing at another workspace's ID. Compare the stored file tree for each workspace with what the owners expect, and check for files that vanished. Review API keys created with unusual or minimal permission sets.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
summary:
In Flowise, the /api/v1/files route is protected only by the feat:files feature gate and does not enforce checkPermission(...) on either GET or DELETE. As a result, any authenticated API key within the organization, even one with unrelated permissions, can list and delete files belonging to other workspaces in the same organization.
details:
The /files route is mounted with IdentityManager.checkFeatureByPlan('feat:files') only and has no additional permission middleware. In the controller:
getAllFilesuses onlyreq.user.activeOrganizationIdand callsgetFilesListFromStorage(activeOrganizationId), which recursively lists files under the organization storage rootdeleteFilereadsactiveWorkspaceId, but only uses it for storage quota bookkeeping; the actual deletion is performed usingactiveOrganizationId + user-controlled path
As a result, the API key’s permissions and activeWorkspaceId are not used to restrict file access. In the local test environment,an API key bound to workspace 1592b32a-a11b-4996-80b6-e1c4c2969d88 with only ["tools:view"] was created, then successfully:
- called
GET /api/v1/filesand received200 OK - listed a test file stored under a different workspace,
f92a9a4d-392e-4db2-af82-d14e1d553446 - called
DELETE /api/v1/files?path=f92a9a4d-392e-4db2-af82-d14e1d553446/poc-cross-workspace.txtand received200 OK - confirmed the file was removed by re-querying the file list
impact:
Any low-privileged API key holder within the same organization can list and delete files from other workspaces without any file-specific permission. This breaks workspace isolation inside the organization and can lead to unauthorized file access and destructive tampering.
reproduction steps:
- Log in as a user who can create API keys, and create a key with only an unrelated permission, for example:
curl -i -b tamako.cookie \
-H 'x-request-from: internal' \
-H 'Content-Type: application/json' \
-d '{"keyName":"poc-files-noperm","permissions":["tools:view"]}' \
http://localhost:8080/api/v1/apikey- Record the returned API key. In my local test, the key was:
ykT6h4Q-u2PZDJmy2kMLWWKL_N42u8mHfYSvHC5Ja0E
- Prepare a test file under a different workspace within the same organization, for example:
f92a9a4d-392e-4db2-af82-d14e1d553446/poc-cross-workspace.txt
- Use the low-privileged API key to list files:
curl -i \
-H 'Authorization: Bearer ykT6h4Q-u2PZDJmy2kMLWWKL_N42u8mHfYSvHC5Ja0E' \
http://localhost:8080/api/v1/files- Observe a
200 OKresponse that includes a file from another workspace, for example:
[{"name":"poc-cross-workspace.txt","path":"f92a9a4d-392e-4db2-af82-d14e1d553446/poc-cross-workspace.txt","size":19}]- Use the same API key to delete that file:
curl -i -X DELETE --get \
-H 'Authorization: Bearer ykT6h4Q-u2PZDJmy2kMLWWKL_N42u8mHfYSvHC5Ja0E' \
--data-urlencode 'path=f92a9a4d-392e-4db2-af82-d14e1d553446/poc-cross-workspace.txt' \
http://localhost:8080/api/v1/files- Observe a
200 OKresponse:
{"message":"file_deleted"}- Call
GET /api/v1/filesagain and confirm that the file is no longer present.
Credited to 360AlphaLab.
Questions
- What permission does the key need?
None related to files. Any API key in the same organization works, even one scoped to
tools:view.- Can it read the files?
The advisory shows listing and deleting. It does not show file contents being read.
- How is it fixed in 3.1.3?
The
/filesroute is disabled in the server and UI and added to the API key blacklist. No permission check was added.- Does it cross organizations?
No. The access is limited to workspaces within the same organization, because the path starts from the organization's storage root.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More Flowise vulnerabilities
All Flowise entriesCVE-2026-73483
Flowise NodeVM sandbox escape via puppeteer allowlist - authenticated RCE and arbitrary file read via Chromium
critical9.4Oct 7, 2026CVE-2026-73487
Flowise Prompt Injection to RCE and SSRF via CSV/Airtable Agent Python Validator Bypass
critical9.0Oct 7, 2026CVE-2026-69250
Flowise: Unauthenticated OAuth2 Refresh Enables Non-Blind SSRF and Secret Exfiltration
high8.5Aug 4, 2026CVE-2026-69251
Flowise RCE via TypeORM DataSource
critical9.0Aug 4, 2026CVE-2026-69253
Flowise Sandbox Escape to RCE
critical9.0Aug 4, 2026CVE-2026-69254
Flowise: RCE via NodeVM Sandbox Escape in executeJavaScriptCode() nodeVMOptions Override
critical9.4Aug 4, 2026
