CVE-2026-56278
Analyzed Analyzed - Analysis Complete

Hardcoded Secret in Flowise Authentication Bypass

Vulnerability report for CVE-2026-56278, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-06-30

Last updated on: 2026-07-06

Assigner: VulnCheck

Description

Flowise before 3.1.0 (affected versions 3.0.13 and earlier) uses a weak hardcoded default secret ('flowise') for the express-session middleware when the EXPRESS_SESSION_SECRET environment variable is not set (packages/server/src/enterprise/middleware/passport/index.ts). Because this default secret is publicly visible in the source code, an attacker can forge valid signed session cookies to impersonate any user and bypass authentication.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-06-30
Last Modified
2026-07-06
Generated
2026-07-21
AI Q&A
2026-07-01
EPSS Evaluated
2026-07-19
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
flowiseai flowise to 3.1.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-798 The product contains hard-coded credentials, such as a password or cryptographic key.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

Flowise versions before 3.1.0 (specifically 3.0.13 and earlier) use a weak hardcoded default secret ('flowise') for the express-session middleware if the EXPRESS_SESSION_SECRET environment variable is not set.

Because this default secret is publicly visible in the source code, an attacker can exploit it by forging valid signed session cookies.

This allows the attacker to impersonate any user and bypass authentication mechanisms.

Detection Guidance

This vulnerability can be detected by checking if the Flowise application version is 3.0.13 or earlier and if the EXPRESS_SESSION_SECRET environment variable is not set, causing the application to use the weak default secret 'flowise'.

To detect this on your system, you can:

  • Verify the Flowise version installed (should be 3.0.13 or earlier to be vulnerable).
  • Check if the environment variable EXPRESS_SESSION_SECRET is set.
  • Search the source code or running environment for the default secret 'flowise'.

Example commands to assist detection:

  • Check Flowise version: `flowise --version` or inspect package.json if applicable.
  • Check environment variable: `echo $EXPRESS_SESSION_SECRET` (Linux/macOS) or `echo %EXPRESS_SESSION_SECRET%` (Windows).
  • Search for the default secret in source files: `grep -r "flowise" ./packages/server/src/enterprise/middleware/passport/`
Impact Analysis

This vulnerability can have severe impacts as it allows attackers to bypass authentication and impersonate any user.

An attacker gaining unauthorized access could lead to data breaches, unauthorized actions within the application, and compromise of user accounts.

Compliance Impact

The vulnerability allows attackers to forge session cookies and impersonate users, leading to unauthorized access and potential exposure of sensitive personal data.

Such unauthorized access and data exposure can result in non-compliance with data protection regulations like GDPR and HIPAA, which require strict controls on user authentication and protection of personal information.

Failure to secure session management mechanisms as in this case could lead to breaches of confidentiality and integrity, increasing the risk of regulatory penalties and loss of trust.

Mitigation Strategies

To mitigate this vulnerability, you should ensure that the EXPRESS_SESSION_SECRET environment variable is set to a strong, unique secret value instead of relying on the weak hardcoded default ('flowise').

Updating Flowise to a version later than 3.1.0, where this issue is fixed, is also recommended.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-56278. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart