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

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.

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

Remediation

No vendor fix or workaround currently provided.

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

History

Wed, 01 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 30 Jun 2026 22:45:00 +0000

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'}


Subscriptions

Flowiseai Flowise
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-01T14:28:34.110Z

Reserved: 2026-06-20T01:51:24.919Z

Link: CVE-2026-56278

cve-icon Vulnrichment

Updated: 2026-07-01T13:46:58.780Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-01T09:15:15Z

Weaknesses
  • CWE-798

    Use of Hard-coded Credentials