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.
Published: 2026-07-12
Score: 9.3 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw resides in Flowise's enterprise passport authentication middleware, where the application defaults to hard‑coded JWT secrets and predictable audience and issuer strings when environment variables are absent. This weakness corresponds to CWE-321 (Weak Cryptographic Keys), and because the secrets "auth_token" and "refresh_token" are globally known, an attacker can generate valid JSON Web Tokens and impersonate any user, including administrators. This results in an authentication bypass that compromises confidentiality, integrity and availability of the system.

Affected Systems

The vulnerability affects Flowise versions 3.0.13 and earlier, distributed under the Flowise:Flowise vendor. Any installation of these affected versions that has not overridden the default JWT settings is susceptible. The issue is limited to the enterprise passport authentication component but allows full impersonation once exploited.

Risk and Exploitability

With a CVSS score of 9.3 the vulnerability is considered critical. The EPSS score is < 1%, indicating a low overall chance of exploitation, and it is not listed in CISA KEV. However, if the application runs with the default JWT secrets, no custom JWT secret, audience or issuer values, an attacker can forge valid tokens with no additional effort; in such environments verification is trivial and an attacker can immediately impersonate any user.

Generated by OpenCVE AI on August 1, 2026 at 11:09 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Flowise version 3.1.0 or later, where the hard‑coded secrets are removed and proper defaults are no longer in use.
  • Configure the environment variables JWT_AUTH_TOKEN_SECRET, JWT_REFRESH_TOKEN_SECRET, JWT_AUDIENCE and JWT_ISSUER with strong, unique values before starting the application.
  • If immediate upgrade or reconfiguration is not possible, disable the enterprise passport authentication middleware or limit access to the endpoints that rely on it until the vulnerability can be mitigated.

Generated by OpenCVE AI on August 1, 2026 at 11:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 13 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Sun, 12 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
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.
Title Flowise - Weak Default JWT Secrets in Authentication Middleware
First Time appeared Flowiseai
Flowiseai flowise
Weaknesses CWE-321
CPEs cpe:2.3:a:flowiseai:flowise:*:*:*:*:*:*:*:*
Vendors & Products Flowiseai
Flowiseai flowise
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, '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'}


Subscriptions

Flowiseai Flowise
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-13T15:41:09.159Z

Reserved: 2026-06-20T01:47:54.000Z

Link: CVE-2026-56271

cve-icon Vulnrichment

Updated: 2026-07-13T15:41:05.939Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T11:15:03Z

Weaknesses
  • CWE-321

    Use of Hard-coded Cryptographic Key