CVE-2026-56278

Flowise - Session Hijacking via Weak Default Express Session Secret

Published Jun 30, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Flowise prior to version 3.1.0 embeds the string 'flowise' as the default secret used by the express-session middleware when the environment variable EXPRESS_SESSION_SECRET is absent. Because this secret is baked into the source code and publicly visible, an attacker can create a signed session cookie that the application will accept as legitimate. With such a forged cookie an attacker can impersonate any authenticated user and gain full access to the application’s functionality.

Affected Systems

The vulnerability affects Flowise installations of version 3.0.13 and earlier. The affected product is Flowise, a conversational AI development platform.

Risk and Exploitability

The CVSS score of 9.3 indicates a high severity. No EPSS score is available, but the flaw is publicly documented and trivial to exploit due to the publicly disclosed default secret. Attackers need only send a crafted HTTP request containing the forged cookie, so the attack vector is remote. Although the risk of exploitation is high, the vulnerability is not currently listed in CISA’s KEV catalog.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Flowise to version 3.1.0 or later, which removes the hard‑coded session secret
  • Set a unique, strong EXPRESS_SESSION_SECRET environment variable for all deployments to replace the default secret
  • Verify that the express-session cookie options enforce secure and HttpOnly flags to prevent client‑side tampering

Generated by OpenCVE AI on June 30, 2026 at 23:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
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.
Title Flowise - Session Hijacking via Weak Default Express Session Secret
First Time appeared Flowiseai
Flowiseai flowise
Weaknesses CWE-798
CPEs cpe:2.3:a:flowiseai:flowise:*:*:*:*:*:*:*:*
Vendors & Products Flowiseai
Flowiseai flowise
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-798

    Use of Hard-coded Credentials

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jul 1, 2026, 2:28 PM
Reserved
Jun 20, 2026, 1:51 AM
Status
Analyzed
Published
Jun 30, 2026, 11:17 PM
Modified
Jul 6, 2026, 3:27 PM