Vulnerability Description
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/<VICTIM_CREDENTIAL_UUID>, /api/v1/oauth2-credential/callback?code=ATTACKER_AUTH_CODE&state=<VICTIM_CREDENTIAL_UUID>, and /api/v1/oauth2-credential/refresh/<VICTIM_CREDENTIAL_UUID>. This issue is fixed in version 3.1.3.
Related Weaknesses (CWE)
References
- https://github.com/FlowiseAI/Flowise/releases/tag/[email protected]
- https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-wch5-xp77-fxg4
- https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-wch5-xp77-fxg4
FAQ
What is CVE-2026-70474?
CVE-2026-70474 is a documented vulnerability. 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 w...
How severe is CVE-2026-70474?
CVSS scoring is not yet available for CVE-2026-70474. Check NVD for updates.
Is there a patch for CVE-2026-70474?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.