CVE-2026-70474

Flowise: Cross-Workspace OAuth2 Credential Metadata Leak

Published Aug 4, 2026 CVSS 4.0 · 7.6 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Flowise, a LLM flow builder, has a flaw where OAuth2 credential endpoints identify credentials solely by their UUID without verifying the workspace context. This causes credential data to be exposed and allows authorized users to trigger flows against credentials in other workspaces. Additionally, unauthenticated attackers can forge callback requests to overwrite tokens and can refresh tokens for any credential. The vulnerability is a restricted functionality violation (CWE‑863) that can lead to unauthorized credential manipulation and data exposure.

Affected Systems

The product affected is Flowise by FlowiseAI. Versions prior to 3.1.3 are vulnerable. Specifically, the endpoint patterns /api/v1/oauth2-credential/authorize/<UUID>, /callback, and /refresh/<UUID> are impacted.

Risk and Exploitability

The CVSS score of 7.6 indicates a high risk level, but the EPSS score is not available, and the vulnerability is not listed in CISA KEV. Exploitation requires either authenticated access to initiate cross‑workspace flows or unauthenticated access to craft callback or refresh requests; the former is easier when the attacker has a username, while the latter works without credentials. The lack of workspace filtering makes the attack straightforward once the endpoint is reached.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update to Flowise 3.1.3 or later.
  • Enforce workspace ID filtering for all OAuth2 credential endpoints.
  • If upgrade is not immediately possible, restrict unauthenticated access to the /api/v1/oauth2-credential/authorize, /callback, and /refresh routes until the patch is applied.

Generated by OpenCVE AI on August 4, 2026 at 19:34 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-wch5-xp77-fxg4 Flowise: Cross-Workspace OAuth2 Credential Metadata Leak
History
Type Values Removed Values Added
CPEs cpe:2.3:a:flowiseai:flowise:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Flowiseai
Flowiseai flowise
Vendors & Products Flowiseai
Flowiseai flowise
Type Values Removed Values Added
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.
Title Flowise: Cross-Workspace OAuth2 Credential Metadata Leak
Weaknesses CWE-863
References
Metrics cvssV4_0

{'score': 7.6, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 5, 2026, 2:29 PM
Reserved
Aug 4, 2026, 3:24 PM
Status
Analyzed
Published
Aug 4, 2026, 7:16 PM
Modified
Oct 24, 2026, 3:10 PM