CVE-2026-56271

CRITICAL

Flowise - Weak Default JWT Secrets in Authentication Middleware

Title source: cna
STIX 2.1

Description

Flowise before 3.1.0 (affected versions 3.0.13 and earlier) uses weak hardcoded default JWT secrets ('auth_token', 'refresh_token') and default audience and issuer values ('AUDIENCE', 'ISSUER') in the enterprise passport authentication middleware (packages/server/src/enterprise/middleware/passport/index.ts). When the corresponding environment variables (JWT_AUTH_TOKEN_SECRET, JWT_REFRESH_TOKEN_SECRET, JWT_AUDIENCE, JWT_ISSUER) are not set, the application silently falls back to these publicly known defaults, allowing an attacker to forge valid JWTs and impersonate any user, including administrators, resulting in authentication bypass.

References (2)

Core 2
Core References
Vendor Advisory vendor-advisory
GitHub Security Advisory (GHSA-cc4f-hjpj-g9p8)
https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-cc4f-hjpj-g9p8
Third Party Advisory third-party-advisory
VulnCheck Advisory: Flowise - Weak Default JWT Secrets in Authentication Middleware
https://www.vulncheck.com/advisories/flowise-weak-default-jwt-secrets-in-authentication-middleware

Scores

CVSS v3 9.8
EPSS 0.0038
EPSS Percentile 30.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable yes
Technical Impact total

Details

CWE
CWE-321
Status published
Products (3)
Flowise/Flowise < 3.1.0
Flowise/Flowise 3.1.0
flowiseai/flowise < 3.1.0
Published Jul 12, 2026
Tracked Since Jul 12, 2026