CVE-2026-70478: Flowise: Unauthenticated OAuth2 token refresh endpoint returns access tokens — enables token theft for any connected service
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.
Security readout for executives and security teams
Plain-English summary
A Flowise endpoint could give unauthenticated attackers access tokens for connected services when they know a credential ID. Stolen tokens may expose external data or permit actions under the victim’s permissions. Attackers may also exhaust refresh-token quotas. Flowise 3.1.3 fixes the issue.
Executive priority
Treat as an immediate upgrade priority for exposed or externally reachable Flowise systems. Potential impact extends beyond Flowise into connected services, where stolen tokens could expose sensitive information or enable unauthorized actions. Prioritize instances holding high-privilege OAuth credentials.
Technical view
The whitelisted POST OAuth2 refresh endpoint requires no authentication. It decrypts the selected stored credential, submits its client secret and refresh token to the OAuth provider, then returns the refreshed access token. Exploitation is network-based, low complexity, and requires a credential ID but no user interaction.
Likely exposure
Exposure is highest for reachable Flowise deployments predating 3.1.3 that store OAuth2 credentials for connected services. An attacker must obtain or guess a credential ID. The bundle inconsistently lists affected versions as “< 3.1.2” while stating the issue exists before 3.1.3; verify exact versions against the advisory.
Exploitation context
The bundle reports no CISA KEV listing and provides no evidence of active exploitation. Nevertheless, the unauthenticated, network-accessible design and potential access to connected services make prompt remediation appropriate. Credential-ID discovery remains a prerequisite according to the supplied description.
Researcher notes
CWE-200 and CVSS 4.0 score 9.2 align with unauthenticated disclosure of OAuth access tokens. Scope includes confidentiality impact in Flowise and connected systems, with limited integrity impact. Evidence does not establish credential-ID predictability, public exploitation, or exploitation in the wild. The source bundle’s affected-version boundary is internally inconsistent.
Mitigation direction
Upgrade Flowise to version 3.1.3 or later.
Restrict network access to Flowise until upgrading is complete.
Review connected services and revoke potentially exposed access or refresh tokens.
Check the vendor advisory for any additional remediation guidance.
Validation and detection
Confirm every Flowise deployment reports version 3.1.3 or later.
Verify the refresh endpoint no longer responds successfully without authentication.
Inventory OAuth2 credentials stored in affected Flowise instances.
Review Flowise and provider logs for unexpected refresh activity or token use.
Confirm connected-service tokens were revoked where exposure is suspected.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-200: Information exposure and cloud metadata lookup
Information exposure and SSRF weaknesses can make discovery, cloud metadata, and credential material review relevant. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references authentication or credential exposure, so valid-account and credential-access review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-200 · source CWE mapping
Exposure of Sensitive Information to an Unauthorized Actor
Exposure of Sensitive Information to an Unauthorized Actor represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.