CVE-2026-56278: Flowise - Session Hijacking via Weak Default Express Session Secret

Published Jun 30, 2026
·
Updated

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 EXPRESSSESSIONSECRET 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.

Affected Software

2 affected components
Flowise<3.1.0
FlowiseAI Flowise<3.1.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Flowise to a version that resolves this vulnerability.

    Fixed in 3.1.0
  2. Configuration

    Set the EXPRESS_SESSION_SECRET environment variable to a strong, unique value so express-session does not fall back to the weak hardcoded default secret ('flowise').

    Flowise (express-session / passport middleware) EXPRESS_SESSION_SECRET = Set to a strong, unique secret (do not leave unset)

Event History

Jun 30, 2026
CVE Published
via MITRE·10:08 PM
Data Sourced
via MITRE·10:08 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:17 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-56278?

CVE-2026-56278 has a severity rating of critical with a score of 9.3.

2

How do I fix CVE-2026-56278?

To fix CVE-2026-56278, set a strong custom value for the EXPRESS_SESSION_SECRET environment variable.

3

What versions of Flowise are affected by CVE-2026-56278?

CVE-2026-56278 affects Flowise versions 3.0.13 and earlier.

4

What type of vulnerability is CVE-2026-56278?

CVE-2026-56278 is a session hijacking vulnerability due to a weak default secret.

5

What conditions trigger CVE-2026-56278?

CVE-2026-56278 is triggered when the EXPRESS_SESSION_SECRET environment variable is not set.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203