Flowise allows any API key to list and delete files from other workspaces

HighSE Fix-First Score 43/100CVE-2026-69252SE-AIV-01685Missing or broken access controlAI apps and chat interfacesMade public 4 Aug 2026

Download as PDF

What this means

An attacker with a low-privilege API key in an organization can see and delete files from other teams' workspaces, even without permission to access those files. Files can be permanently lost, and sensitive data from other teams can be read. This breaks the isolation between teams that share an organization.

SecurityElites Manager Brief: the decision in one minute

Flowise does not check if an API key has permission to access files before listing or deleting them. Any authenticated key in an organization can reach any other team's files in that organization. You need to upgrade Flowise to 3.1.3 to fix this.

SecurityElites Fix-First Score43 of 100
Our own ranking of what to fix first. Real attacks count most, then the chance of attack, then severity.
SecurityElites fix windowWithin 30 days
High severity. This is our suggestion from common practice; your own policy comes first.
Who should own the fixInfrastructure or platform team managing Flowise
Likely effortAbout 30 minutes: upgrade Flowise to version 3.1.3 and restart the service. The upgrade may take longer if your deployment uses custom storage or file handling plugins.

Questions to ask your team or supplier

  • Do we have multiple teams or workspaces in Flowise? If so, which teams store sensitive files and would be harmed if other teams could read or delete them?
  • What API keys are in use today, and which ones have limited permissions? Do any of those keys belong to external services or users outside the core platform team?
  • If files have been deleted or accessed unexpectedly between now and the last version we know was secure, do we have backups we need to restore?

Message you can forward to the owning team

Security notice: Flowise allows any API key to list and delete files from other workspaces (CVE-2026-69252)

Severity: High
SecurityElites Fix-First Score: 43 of 100
SecurityElites fix window: Within 30 days
Action: upgrade to flowise 3.1.3 or later.
What we need from you: confirm whether we run this software, who owns it, and the date it will be fixed.
Full guide: https://securityelites.com/ai-vulnerabilities/cve-2026-69252-flowise-allows-any-api-key-to-list-and-delete/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-01685

What is at stake in your AI setup

  • Files stored in Flowise workspaces: an attacker can read files belonging to other teams, including training data, model weights, or configuration files
  • Workflow and agent definitions: files describing how AI agents are connected to tools and data sources can be listed and deleted, disrupting AI workflows
  • Credentials or keys embedded in files: if API keys or database credentials are stored as files in Flowise, they can be accessed by any low-privilege key holder

Map where your company uses AI

Who is exposed

  • Organizations with multiple teams or workspaces sharing one Flowise instance
  • Teams that store sensitive files in Flowise (data, documents, model files)
  • Any user who has created an API key in Flowise, even with limited permissions

Upgrades you need

SoftwareAffected versionsMove to
flowise
npm
Every version before 3.1.33.1.3 or later

Am I affected?

Enter the version you run. Nothing you type is stored.

SecurityElites Developer Brief: the technical picture

Is it being attackedWorking attack code is public, so expect attacks to follow
Where the attacker must beAnywhere that can reach it over a network, including the internet if it is exposed
Account neededAn ordinary user account
Does a person have to do somethingNo. It works without anyone clicking or opening anything
How hard it is to doEasy. It works reliably once the attacker can reach it
Risk of: data being readHigh
Risk of: data or settings being changedNone
Risk of: the service being taken downHigh
Can attackers automate it at scaleNo, according to CISA. Each target needs manual work
How much control an attacker gainsTotal control of the affected software, according to CISA

Read from the official severity rating: 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

Kind of coding mistake

  • CWE-862: a permission check is missing

If you cannot upgrade today

  • Until you can upgrade, do not issue API keys with limited permissions if those keys will be used by external systems or untrusted users.
  • Restrict file access by running separate Flowise instances for each team or organization, so workspace boundaries are enforced by deployment isolation.
  • Monitor and audit all API key usage; revoke any keys that are not actively needed.

Signs it may already have been used against you

  • API keys with limited permissions (not `files:*` or similar) making requests to `/api/v1/files` with GET or DELETE methods
  • File list responses containing paths from workspaces other than the API key's assigned workspace
  • DELETE requests to `/api/v1/files` followed by HTTP 200 responses, especially from low-privilege keys
  • Unexpected files missing from workspace storage, especially if deletion happened before the upgrade

Log searches to start from

Requests to /api/v1/files from API keys without file permissionsElastic

path:'/api/v1/files' AND (method:GET OR method:DELETE) AND user.permissions:!('files:*') AND status:200

File deletion by low-privilege API keys (adapt field names to your logs)Splunk

sourcetype=flowise_access path='/api/v1/files' method=DELETE user.permissions!=files:* status=200

Written with AI as a starting point. Review them and change the index and field names to match your own logs before you rely on the result.

SecurityElites Fix Guide: step by step

  1. Find where Flowise is runningList all servers, containers, or cloud services running Flowise. Check deployment tools (Kubernetes, Docker, cloud console) or ask your platform team where Flowise is installed. Note the current version.
  2. Back up files before upgradeIf files in Flowise are important, export or snapshot them. This protects against accidental loss during the upgrade.
  3. Upgrade Flowise to version 3.1.3Follow your normal upgrade process for Flowise (npm update, container image pull, or cloud service update). Ensure the upgrade completes to version 3.1.3 or later.
  4. Restart the Flowise serviceRestart all Flowise processes or containers after the upgrade. Wait for the service to become healthy and respond to requests.
  5. Verify the upgraded versionCheck that Flowise is now running version 3.1.3 or later. Use the version endpoint or check package information in your deployment.
  6. Review API key audit logsCheck logs between now and your last known secure state to see if any API keys accessed files from workspaces they should not have. Look for GET or DELETE requests to `/api/v1/files` from keys with limited permissions.
  7. Revoke suspicious API keysIf you find evidence that a low-privilege API key was used to access files in other workspaces, delete that key immediately. Notify the person or service that owned the key.
  8. Re-check that files are still presentAfter the upgrade, verify that important files are still in Flowise and have not been deleted. If files are missing and backups exist, restore them.

How to confirm it is fixed: Confirm that Flowise is running version 3.1.3 or later by checking `npm list flowise` or the version output in your deployment, and test that an API key with limited permissions can no longer reach the `/api/v1/files` endpoint.

SecurityElites Quick Fixes: copy and paste

Upgrade flowise with npmupgrade

npm install flowise@3.1.3
npm ls flowise

Check Flowise version (npm)for this issue

npm list flowise

Check Flowise version (Docker container)for this issue

docker exec <container_name> npm list flowise

Require sign-in with nginx in front of the servicegeneral hardening

location / {
    auth_basic "Restricted";
    auth_basic_user_file /etc/nginx/.htpasswd;
    proxy_pass http://127.0.0.1:8080;
}

Test in a non-production environment first. General hardening examples use placeholder names and ports; change them to match your setup.

Let your AI coding assistant do the upgrade

Paste this into the coding assistant you already use, inside the project. It checks first and asks before it changes anything.

Instruction for your coding assistant

You are helping me fix a security vulnerability (CVE-2026-69252) in this project.\n\n1. Search the whole repository, including lock files, container files and CI configuration, for these packages and list every place they are pinned or installed:\n   - flowise (npm): must be 3.1.3 or later
2. Tell me which version we use now and whether it is affected. Stop and ask me before changing anything.
3. After I agree, raise each one to the safe version, update the lock files, and keep every other dependency as it is.
4. Run the tests and tell me what failed.
5. Give me a short summary of the files you changed that I can put in the pull request.

SecurityElites Incident Drill: could your team handle this?

Four questions to ask in your next team meeting. If any has no clear answer, that is the gap to close.

What is the difference between this vulnerability before and after the upgrade?A good answer: Before the fix, any API key in the organization could list and delete files from any workspace; after the fix, the system checks the API key's workspace and permissions before allowing file access.
How would an attacker use this vulnerability?A good answer: An attacker with any API key (even with unrelated permissions like tools:view) could call the files endpoint to list all files in the organization and delete files from teams they do not belong to.
Which teams are most at risk?A good answer: Teams in organizations with multiple workspaces and teams that have issued API keys with limited permissions, or teams that store important files in Flowise.
How do we know if this was used against us?A good answer: Check logs for GET or DELETE requests to /api/v1/files from API keys that do not have file permissions, or look for files missing from workspace storage with no corresponding delete request from an authorized user.

Run a full timed drill with your team

Ticket for your backlog

Paste into Jira, GitHub Issues or any tracker that reads Markdown.

Ready-made ticket

## Flowise allows any API key to list and delete files from other workspaces (CVE-2026-69252)

**Severity:** High  |  **SE Fix-First Score:** 43/100  |  **Fix window:** Within 30 days
**Record:** SE-AIV-01685 https://securityelites.com/ai-vulnerabilities/cve-2026-69252-flowise-allows-any-api-key-to-list-and-delete/

### Why this matters
An attacker with a low-privilege API key in an organization can see and delete files from other teams' workspaces, even without permission to access those files. Files can be permanently lost, and sensitive data from other teams can be read. This breaks the isolation between teams that share an organization.

### What to do
1. Find where Flowise is running
2. Back up files before upgrade
3. Upgrade Flowise to version 3.1.3
4. Restart the Flowise service
5. Verify the upgraded version
6. Review API key audit logs
7. Revoke suspicious API keys
8. Re-check that files are still present

Full steps: https://securityelites.com/ai-vulnerabilities/cve-2026-69252-flowise-allows-any-api-key-to-list-and-delete/

### Done when
- [ ] flowise is at 3.1.3 or later everywhere it is installed
- [ ] Lock files, container images and CI configuration are updated
- [ ] Confirm that Flowise is running version 3.1.3 or later by checking `npm list flowise` or the version output in your deployment, and test that an API key with limited permissions can no longer reach the `/api/v1/files` endpoint.
- [ ] Logs were checked for signs of earlier use

SecurityElites Fix Tracker

Record who owns this fix, the date it is due and when it is done, and see everything still open in one list. Free with a SecurityElites account.

Sign in to track this fix

Change history

  • 4 Aug 2026: Made public
  • 2 Dec 2026: Published

Official record

# 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:- `getAllFiles` uses only `req.user.activeOrganizationId` and calls `getFilesListFromStorage(activeOrganizationId)`, which recursively lists files under the organization storage root - `deleteFile` reads `activeWorkspaceId`, but only uses it for storage quota bookkeeping; the actual deletion is performed using `activeOrganizationId + 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/files` and received `200 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.txt` and received `200 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:1. Log in as a user who can create API keys, and create a key with only an unrelated permission, for example:```bash 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 ```2. Record the returned API key. In my local test, the key was:- `ykT6h4Q-u2PZDJmy2kMLWWKL_N42u8mHfYSvHC5Ja0E`3. Prepare a test file under a different workspace within the same organization, for example:- `f92a9a4d-392e-4db2-af82-d14e1d553446/poc-cross-workspace.txt`4. Use the low-privileged API key to list files:```bash curl -i \ -H 'Authorization: Bearer ykT6h4Q-u2PZDJmy2kMLWWKL_N42u8mHfYSvHC5Ja0E' \ http://localhost:8080/api/v1/files ```5. Observe a `200 OK` response that includes a file from another workspace, for example:```json [{"name":"poc-cross-workspace.txt","path":"f92a9a4d-392e-4db2-af82-d14e1d553446/poc-cross-workspace.txt","size":19}] ```6. Use the same API key to delete that file:```bash 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 ```7. Observe a `200 OK` response:```json {"message":"file_deleted"} ```8. Call `GET /api/v1/files` again and confirm that the file is no longer present.

Weakness type: CWE-862

Use this record in your own tools

Get this record as JSON

curl https://securityelites.com/wp-json/se-aivd/v1/vulns/CVE-2026-69252

For scanners and pipelines: OSV format · CycloneDX format · API guide · Email alerts · Fix tracker

The plain-language sections were written with AI from the official record, and the upgrade versions come directly from the official data. Last updated 2 Dec 2026. Read the vendor advisory before changing a production system.