Description
Flowise is a drag & drop user interface to build a customized large language model flow. Prior to 3.1.3, the POST /api/v1/oauth2-credential/refresh/:credentialId endpoint is included in WHITELIST_URLS and requires no authentication. The endpoint decrypts the stored credential, sends a refresh request to the configured OAuth provider with the client secret and refresh token, and returns the refreshed access_token in the response body. An attacker with a credential ID can use the token to access the victim's connected service and can also exhaust refresh-token quota. This issue is fixed in 3.1.3.
Published: 2026-08-04
Score: 9.2 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The /api/v1/oauth2-credential/refresh/:credentialId endpoint in Flowise was included in the whitelist of URLs and could be accessed without authentication. By sending a POST request to this endpoint, an attacker can cause the application to decrypt a stored OAuth credential, send a refresh request to the provider, and receive a newly minted access token in the response body. The attacker only needs the credential ID to obtain the token, which can then be used to access the victim’s connected third‑party services and to exhaust the provider’s refresh‑token quota. This flaw is a confidentiality violation, classified as CWE‑200.

Affected Systems

The vulnerability affects Flowise by FlowiseAI versions prior to 3.1.3. All releases up to and including 3.1.2 are susceptible. The issue is fixed in version 3.1.3.

Risk and Exploitability

The CVSS score of 9.2 indicates a high‑severity weakness. The EPSS score is not reported, so exploitation probability is unknown, and the vulnerability is not listed in the CISA KEV catalog. A remote attacker must know a valid credential ID to trigger the flaw; with that information the attacker can access protected services and potentially drain refresh‑token allowances. The lack of authentication on a public endpoint makes attack feasible from any network without additional access.

Generated by OpenCVE AI on August 4, 2026 at 21:42 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Flowise to version 3.1.3 or later, which removes the unauthenticated token‑refresh endpoint.
  • Regenerate exposed OAuth refresh tokens and re‑authorize connected services to prevent reuse of stolen tokens.
  • Restrict the /api/v1/oauth2-credential/refresh/:credentialId endpoint to authorized requests by removing it from WHITELIST_URLS or adding authentication middleware.

Generated by OpenCVE AI on August 4, 2026 at 21:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-qgvm-j2hm-6m38 Flowise: Unauthenticated OAuth2 token refresh endpoint returns access tokens — enables token theft for any connected service
History

Tue, 04 Aug 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Flowiseai
Flowiseai flowise
Vendors & Products Flowiseai
Flowiseai flowise

Tue, 04 Aug 2026 20:15:00 +0000

Type Values Removed Values Added
Description Flowise is a drag & drop user interface to build a customized large language model flow. Prior to 3.1.3, the POST /api/v1/oauth2-credential/refresh/:credentialId endpoint is included in WHITELIST_URLS and requires no authentication. The endpoint decrypts the stored credential, sends a refresh request to the configured OAuth provider with the client secret and refresh token, and returns the refreshed access_token in the response body. An attacker with a credential ID can use the token to access the victim's connected service and can also exhaust refresh-token quota. This issue is fixed in 3.1.3.
Title Flowise: Unauthenticated OAuth2 token refresh endpoint returns access tokens — enables token theft for any connected service
Weaknesses CWE-200
References
Metrics cvssV4_0

{'score': 9.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:H/SI:L/SA:N'}


Subscriptions

Flowiseai Flowise
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-04T19:37:22.020Z

Reserved: 2026-08-04T15:24:41.339Z

Link: CVE-2026-70478

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T21:30:12Z

Weaknesses
  • CWE-200

    Exposure of Sensitive Information to an Unauthorized Actor