---
id: CVE-2026-70474
title: >-
  Flowise is a drag-and-drop user interface for building customized large
  language model (LLM) flows
summary: >-
  Flowise is a drag-and-drop user interface for building customized large
  language model (LLM) flows. Prior to 3.1.3, Flowise has three OAuth2
  credential endpoints that look up credentials by id alone with no workspaceId
  filter. The author…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'
cwe:
  - CWE-863
vendor: flowiseai
product: flowise
affected:
  - flowise < 3.1.3
patched:
  - flowise 3.1.3
published: '2026-08-04'
updated: '2026-09-11'
sourceUpdated: '2026-09-11T21:07:42.970'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-70474'
references:
  - url: 'https://github.com/FlowiseAI/Flowise/releases/tag/flowise@3.1.3'
    label: security-advisories@github.com
  - url: >-
      https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-wch5-xp77-fxg4
    label: security-advisories@github.com
  - url: >-
      https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-wch5-xp77-fxg4
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://github.com/advisories/GHSA-wch5-xp77-fxg4'
tags:
  - nvd
  - ghsa
  - npm
epss: 0.00426
epssPercentile: 0.3649
aliases:
  - GHSA-wch5-xp77-fxg4
ecosystem: npm
ingestedAt: '2026-08-04T18:41:08.023Z'
---

## Overview

Flowise is a drag-and-drop user interface for building customized large language model (LLM) flows. Prior to 3.1.3, Flowise has three OAuth2 credential endpoints that look up credentials by id alone with no workspaceId filter. The authorize, callback, and refresh handlers query the Credential table by id only; callback and refresh are whitelisted from authentication. This allows any authenticated user to initiate OAuth2 flows against credentials belonging to other workspaces, allows an unauthenticated attacker to forge OAuth2 callbacks to overwrite tokens in any credential, and allows an unauthenticated attacker to refresh tokens for any credential. The affected routes include /api/v1/oauth2-credential/authorize/<VICTIM_CREDENTIAL_UUID>, /api/v1/oauth2-credential/callback?code=ATTACKER_AUTH_CODE&state=<VICTIM_CREDENTIAL_UUID>, and /api/v1/oauth2-credential/refresh/<VICTIM_CREDENTIAL_UUID>. This issue is fixed in version 3.1.3.

## Affected

- `flowise < 3.1.3`

## Remediation

Upgrade past the affected range:

- `flowise 3.1.3`

## Package advisory (CVE-2026-70474)

Affected packages:

- `flowise <= 3.1.2`

Patched in:

- `flowise 3.1.3`

Source: https://github.com/advisories/GHSA-wch5-xp77-fxg4
