CVE-2026-56271

published 12 Jul 2026 · updated 13 Jul 2026

Flowise - Weak Default JWT Secrets in Authentication Middleware

9.8CriticalCVSS 9.8EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 3.1.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Flowise<3.1.03.1.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-56271 severity on Zeptric[![CVE-2026-56271](https://zeptric.io/badge/cve/CVE-2026-56271.svg)](https://zeptric.io/cve/CVE-2026-56271)