# CVE-2026-70478: Flowise unauthenticated OAuth2 token refresh in credential endpoint

Source: https://junglewise.ai/threats/cve-2026-70478-flowise-unauthenticated-oauth2-token-refresh-in-credential  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-08-04. Updated: 2026-08-04  
License: CC BY 4.0 with a link back

CVE-2026-70478 · Severity: critical · CVSS 10 · Published 2026-08-04

Flowise, an open-source tool for building LLM applications, contains a security flaw in how it handles third-party service connections like Google, Microsoft, and GitHub. An unauthorized attacker can remotely request a new access token for these connected services without providing any credentials. If successful, this allows the attacker to take over the victim's connected accounts and access their private data.

Technologies: [flowise (npm)](https://junglewise.ai/threats/technologies/flowise). Vendors: [npm](https://junglewise.ai/threats/vendors/npm).

## Quick answers

**Is CVE-2026-70478 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-70478 being exploited in the wild.

**How severe is CVE-2026-70478?** Critical severity, with a CVSS score of 10, published 4 August 2026.

**Which products and versions are affected?** flowise (npm) <= 3.1.2, SEMVER:introduced=0,fixed=3.1.3.

**Is there a fix for CVE-2026-70478?** Yes. flowise (npm): upgrade to 3.1.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-70478 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-70478?** Check whether you run flowise (npm) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- flowise (npm): upgrade to 3.1.3 or later

  ```sh
  npm install flowise@3.1.3
  ```


## Technical details

The OAuth2 token refresh endpoint (POST /api/v1/oauth2-credential/refresh/:credentialId) was incorrectly included in the WHITELIST_URLS constant, bypassing authentication requirements. When called with a valid credential ID, the server decrypts the stored OAuth2 credentials, performs a refresh request to the provider, and returns the resulting access_token directly in the JSON response. Attackers can obtain credential IDs through enumeration or other information leaks to gain full access to a victim's connected third-party accounts. This vulnerability is patched in version 3.1.3.

## Affected products

- FlowiseAI flowise <= 3.1.2

## Identifiers

- CVE-2026-70478
- GHSA-qgvm-j2hm-6m38

## Timeline

- 2026-07-29: disclosed
- 2026-08-04: advisory
- 2026-08-04: patched

## References

- [https://api.github.com/users/DeathsPirate](https://api.github.com/users/DeathsPirate)
- [https://github.com/DeathsPirate](https://github.com/DeathsPirate)
- [https://api.github.com/users/DeathsPirate/gists%7B/gist_id%7D](https://api.github.com/users/DeathsPirate/gists%7B/gist_id%7D)
- [https://api.github.com/users/DeathsPirate/repos](https://api.github.com/users/DeathsPirate/repos)
- [https://avatars.githubusercontent.com/u/6913191?v=4](https://avatars.githubusercontent.com/u/6913191?v=4)
- [https://api.github.com/users/DeathsPirate/events%7B/privacy%7D](https://api.github.com/users/DeathsPirate/events%7B/privacy%7D)

## Related threats

- [Duplicate Advisory: INVITED users auto-promoted via SSO email match (invite-token bypass)](https://junglewise.ai/threats/duplicate-advisory-invited-users-auto-promoted-via-sso-email-match-d290aa10)
- [Duplicate Advisory: Flowise contains an unauthenticated sandbox escape](https://junglewise.ai/threats/duplicate-advisory-flowise-contains-an-unauthenticated-sandbox-escape-8959e167)
- [Flowise incomplete credential redaction in API](https://junglewise.ai/threats/cve-2026-73604-flowise-incomplete-credential-redaction-in-api)
- [Flowise text-to-speech endpoint credential abuse via unauthenticated access](https://junglewise.ai/threats/cve-2026-73603-flowise-text-to-speech-endpoint-credential-abuse-via)
- [Flowise IDOR in payment source endpoint](https://junglewise.ai/threats/cve-2026-73488-flowise-idor-in-payment-source-endpoint)
