CVE-2026-70474
PoC largeImproper Authorization (CWE-863) in Flowise OAuth2 Credential Endpoints
Flowise before 3.1.3 exposes three OAuth2 credential endpoints (authorize, callback, and refresh under /api/v1/oauth2-credential/) that look up credentials by id alone with no workspaceId filter, and the callback and refresh routes are whitelisted from authentication. An authenticated low-privileged user can initiate OAuth2 flows against credentials belonging to other workspaces, while an unauthenticated attacker who knows or guesses a credential id can forge an OAuth2 callback to overwrite the stored tokens in any credential, or call refresh to obtain refreshed tokens for any credential. Successful abuse allows cross-tenant credential tampering and token hijacking, potentially compromising the third-party services and integrations connected via those credentials. All Flowise deployments prior to 3.1.3 are affected, with the greatest risk to multi-workspace/shared instances and instances exposed to the internet. No in-the-wild exploitation is confirmed; EPSS is low (0.3%, ~23rd percentile), it is not in CISA KEV, and one public advisory reference (GHSA-wch5-xp77-fxg4) exists.
What to do: Upgrade Flowise to version 3.1.3 or later immediately. As interim mitigation, restrict access to the /api/v1/oauth2-credential/authorize, /callback, and /refresh routes at a reverse proxy or WAF to trusted clients only, and review the Credential table and OAuth-connected integrations for unexpected token changes or refresh activity.
| flowiseai flowise | all versions prior to 3.1.3 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Flowise is a drag-and-drop user interface for building customized large language model (LLM) flows. Prior to 3.1.3, Flowise has three OAuth2 credential endpoints that look up credentials by id alone with no workspaceId filter. The authorize, callback, and refresh handlers query the Credential table by id only; callback and refresh are whitelisted from authentication. This allows any authenticated user to initiate OAuth2 flows against credentials belonging to other workspaces, allows an unauthenticated attacker to forge OAuth2 callbacks to overwrite tokens in any credential, and allows an unauthenticated attacker to refresh tokens for any credential. The affected routes include /api/v1/oauth2-credential/authorize/ , /api/v1/oauth2-credential/callback?code=ATTACKER_AUTH_CODE&state= , and /api/v1/oauth2-credential/refresh/ . This issue is fixed in version 3.1.3.
- Vendors
- flowiseai
- Products
- flowise
- Weakness
- CWE-863
- Vector
- CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
In the news0 stories
No ingested article mentions this CVE yet.