Flowise allows attackers to use other workspaces' OpenAI keys

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

Download as PDF

What this means

An attacker with access to one workspace can steal and use OpenAI API keys from other workspaces. This lets them read, modify or delete files and vector stores belonging to other teams, and charge costs to other teams' OpenAI accounts. The boundaries between separate customer workspaces are broken.

SecurityElites Manager Brief: the decision in one minute

Flowise does not check that a credential belongs to the user's workspace before using it. An attacker can guess or find another workspace's credential ID and use that workspace's OpenAI key to make API calls and incur charges. This is a multi-tenant boundary violation that needs an immediate fix.

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 fixPlatform engineering or DevOps team (owns Flowise deployment).
Likely effortAbout 30 minutes: upgrade to version 3.1.3 and restart the service. Checking for prior misuse and revoking exposed keys could add 1-2 hours depending on how many workspaces and keys exist.

Questions to ask your team or supplier

  • Do we know of any attempts to use credentials from workspace A while logged in as a user from workspace B, and what did those attempts do?
  • Have we checked OpenAI API logs for any unexpected calls or usage spikes that might indicate a compromised key?
  • What is our process for rotating OpenAI keys if they are compromised, and how quickly can we do it?

Message you can forward to the owning team

Security notice: Flowise allows attackers to use other workspaces' OpenAI keys (CVE-2026-70472)

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-70472-flowise-allows-attackers-to-use-other-workspaces-openai-keys/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-01640

What is at stake in your AI setup

  • OpenAI API keys: stolen keys can be used to make API calls and incur charges on another team's account.
  • Vector stores and files in OpenAI: an attacker can read, modify or delete files and vector stores belonging to other workspaces.
  • Chat history and prompts: if stored as files or in vector stores, they can be read by an attacker with a stolen credential.

Map where your company uses AI

Who is exposed

  • Any team running Flowise versions before 3.1.3 with multiple workspaces.
  • Workspaces that share the same Flowise instance and have stored OpenAI credentials.
  • Teams whose OpenAI keys are stored in Flowise and could be guessed or enumerated by another workspace user.
  • Users in workspace A who can call the `/api/v1/openai-assistants-vector-store` endpoint.

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 downNone
Can attackers automate it at scaleNo, according to CISA. Each target needs manual work
How much control an attacker gainsPartial control, according to CISA

Read from the official severity rating: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:H/SA:H

Kind of coding mistake

  • CWE-285: permission is not checked properly
  • CWE-863: a permission check is wrong

If you cannot upgrade today

  • Until you can upgrade, restrict access to the `/api/v1/openai-assistants-vector-store` endpoint and related assistant endpoints using a firewall or reverse proxy rule. Only allow requests from known, trusted IP addresses.
  • Rotate all OpenAI API keys stored in Flowise now, so even if an attacker has a credential ID, the key is no longer valid.
  • Review all users and service accounts that have access to Flowise and the assistants feature. Remove any that are not needed.

Signs it may already have been used against you

  • Check OpenAI API usage logs for calls that do not match the IP addresses, timestamps or API endpoints your team normally uses.
  • Look for vector store or file operations (uploads, deletions, modifications) in OpenAI that your team did not perform.
  • Search Flowise application logs for calls to `/api/v1/openai-assistants-vector-store` from users or IP addresses that should not have access.
  • In the Flowise database, look for credential usage patterns where a credential was used by a workspace ID that does not own it.

SecurityElites Fix Guide: step by step

  1. Check which version of Flowise is installedLog in to the server or container running Flowise. Run `npm list flowise` or check the package.json file to see the installed version. Document the current version.
  2. Review stored OpenAI credentials and workspacesList all workspaces in the Flowise database and all OpenAI credentials stored in each. Document which team owns each credential and workspace. This helps you decide which credentials may have been exposed.
  3. Check for signs of misuse in OpenAI API logsLog in to each OpenAI account that has a key stored in Flowise. Check the API usage logs for any calls that do not match your team's expected activity. Look for calls from unfamiliar IP addresses or at times when your team was not using the API.
  4. Back up the current Flowise databaseExport or snapshot the entire Flowise database before making changes. This lets you restore if something goes wrong during the upgrade.
  5. Upgrade Flowise to version 3.1.3 or laterUpdate the Flowise package to version 3.1.3 or the latest version available. Follow your normal deployment process (e.g., `npm install`, pull a new container image, or deploy via your package manager).
  6. Restart the Flowise serviceStop and restart the Flowise process or container to load the fixed version. Wait for it to fully start and check that the service is healthy.
  7. Verify the fix is in placeRun `npm list flowise` again and confirm the version is 3.1.3 or later. The service should now reject attempts to use credentials from other workspaces.
  8. Revoke and rotate exposed OpenAI keysIf you found any signs of misuse in the OpenAI API logs, revoke the exposed API keys in OpenAI immediately. Create new keys and update them in Flowise and in any other systems that use them.

How to confirm it is fixed: Confirm that Flowise is running version 3.1.3 or later by running `npm list flowise` and that the service is healthy after restart.

SecurityElites Quick Fixes: copy and paste

Upgrade flowise with npmupgrade

npm install flowise@3.1.3
npm ls flowise

Check installed Flowise versionfor this issue

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-70472) 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 core security issue in this vulnerability?A good answer: Flowise does not verify that a credential belongs to the caller's workspace before using it, allowing an attacker to use credentials from other workspaces.
How could an attacker use this vulnerability to cause financial harm?A good answer: An attacker can use another workspace's OpenAI API key to make API calls, which will be billed to the victim's OpenAI account.
What steps should we take immediately after upgrading to 3.1.3?A good answer: Check OpenAI API logs for unauthorized activity, revoke and rotate any exposed keys, and verify that the fix is working by confirming the version.
What is a temporary way to reduce risk before we can upgrade?A good answer: Rotate all stored OpenAI keys immediately and restrict access to the affected endpoints using a firewall or reverse proxy.

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 attackers to use other workspaces' OpenAI keys (CVE-2026-70472)

**Severity:** High  |  **SE Fix-First Score:** 43/100  |  **Fix window:** Within 30 days
**Record:** SE-AIV-01640 https://securityelites.com/ai-vulnerabilities/cve-2026-70472-flowise-allows-attackers-to-use-other-workspaces-openai-keys/

### Why this matters
An attacker with access to one workspace can steal and use OpenAI API keys from other workspaces. This lets them read, modify or delete files and vector stores belonging to other teams, and charge costs to other teams' OpenAI accounts. The boundaries between separate customer workspaces are broken.

### What to do
1. Check which version of Flowise is installed
2. Review stored OpenAI credentials and workspaces
3. Check for signs of misuse in OpenAI API logs
4. Back up the current Flowise database
5. Upgrade Flowise to version 3.1.3 or later
6. Restart the Flowise service
7. Verify the fix is in place
8. Revoke and rotate exposed OpenAI keys

Full steps: https://securityelites.com/ai-vulnerabilities/cve-2026-70472-flowise-allows-attackers-to-use-other-workspaces-openai-keys/

### 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 running `npm list flowise` and that the service is healthy after restart.
- [ ] 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

# SummaryThese endpoints accept a client-controlled `credential` parameter. The server loads credentials by `id` and uses them directly, without checking whether that credential belongs to the caller’s workspace. If an attacker knows another workspace’s `credentialId`, they can use that workspace’s OpenAI key.# DetailsRoute permissions (`assistants:*`) only check feature access. They do not check credential ownership. The controller passes `req.query.credential` straight to the service. The service does `findOneBy({ id: credentialId })`, decrypts the credential, and calls OpenAI APIs. There is no `workspaceId` check in this flow, so this is an IDOR.# Impact- Cross-workspace unauthorized use of stored OpenAI keys. - Unauthorized read/modify/delete of victim vector stores and files. - Direct billing impact on victim OpenAI account. - Multi-tenant boundary violation with practical exploitability.# Reproduction steps1. Set up two workspaces: A (attacker) and B (victim), each with an OpenAI credential. 2. Log in as a user in workspace A (with assistants-related permissions). 3. Call `/api/v1/openai-assistants-vector-store` and set `credential` to B’s credential ID. 4. Example: `GET /api/v1/openai-assistants-vector-store?credential=<B_credentialId>`. 5. If responses/actions are executed using B’s credential context, the issue is confirmed.

Weakness type: CWE-285, CWE-863

Use this record in your own tools

Get this record as JSON

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

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.