Flowise: Unauthenticated OAuth2 token refresh endpoint returns access tokens — enables token theft for any connected service
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
flowisenpm | < 3.1.3 | 3.1.3 |
Affected products
1Patches
Vulnerability mechanics
References
2- github.com/advisories/GHSA-qgvm-j2hm-6m38ghsaADVISORY
- github.com/FlowiseAI/Flowise/security/advisories/GHSA-qgvm-j2hm-6m38ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.