p PatchFirst

CVE-2026-56271

CVE-2026-56271 · Flowise - Weak Default JWT Secrets in Authentication Middleware

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 9.3 · Critical · EPSS 0.7% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • flowise

    Versions
    • ≥ 0, < 3.1.0: Affected (semver)
    • 3.1.0: Not affected (semver)

    Update to 3.1.0

  • flowise npm

    Affected ranges
    • SEMVER: < 3.1.0

    Update to 3.1.0

Original sources

Check your server →