CVE-2026-56271CWE-321

Flowise - Weak Default JWT Secrets in Authentication Middleware

Critical · published July 12, 2026

CVSS v4.0
9.3
EPSS
1%
Percentile
50.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
9.3 · CRITICAL
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS
0.00655 · 50.7th percentile
Weakness
CWE-321 · Use of Hard-coded Cryptographic Key
Published
2026-07-12T12:06Z
EPSS history
Timeline
  • 12 JUL 12:06Z
    Flowise - Weak Default JWT Secrets in Authentication Middleware
    cvelistv5