All vulnerabilities

Servers and applications

CVE-2026-70478

Unauthenticated OAuth2 token refresh endpoint returns access tokens — enables token theft for any connected service

Severity
Critical 9.2
Published
29 Jul 2026
Last changed
24 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
3.1.3
Exploit chance
0.6% in the next 30 daysHigher than 50% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Information exposure (CWE-200)
Attack
Over the network · No login needed · No user action needed
Attacker can
Read data · Change some data
CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Also known as
GHSA-qgvm-j2hm-6m38
Sources
NVD, Project advisories (GitHub)

Description

The OAuth2 token refresh endpoint (POST /api/v1/oauth2-credential/refresh/:credentialId) is in WHITELIST_URLS, meaning it requires no authentication. It decrypts the stored credential (containing clientId, clientSecret, refresh_token), sends a refresh request to the configured OAuth provider, and returns the new access_token directly in the response body.

Whitelist entry at packages/server/src/utils/constants.ts:40.

  • Attacker obtains a credential ID (via Finding 2 / public chatflow leak, or enumeration)
  • Attacker calls POST /api/v1/oauth2-credential/refresh/:credentialId (no auth required)
  • Server decrypts credential, sends refresh request to OAuth provider with user's client_secret
  • Server returns the new access_token in the response to the attacker
  • Attacker uses the token to access the victim's connected service (Google, Microsoft, etc.)
From FlowiseAI/Flowise's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
FlowiseServers and applications · cpe:a:flowiseai:flowise
  • Every version before 3.1.3
FlowiseServers and applications · github:flowiseai/flowise
  • Every version before 3.1.3

About Flowise

Build AI Agents, Visually

From its GitHub repository.
Archived
Yes, no longer maintainedGitHub
Weekly downloads (npm)
6,604npm, 15 Nov 2026
Docker Hub pulls
7,390,661Docker Hub, 15 Nov 2026
GitHub stars
55,573GitHub, 15 Nov 2026
Forks
25,094GitHub, 15 Nov 2026
Latest release
[email protected]GitHub, 15 Nov 2026
Released
29 Jul 2026GitHub
First published on GitHub
31 Mar 2023GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-70478
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-70478
  • GitHub Advisory Database https://github.com/advisories/GHSA-qgvm-j2hm-6m38
  • github.com https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-qgvm-j2hm-6m38