All vulnerabilities

Servers and applications

GHSA-2qqc-p94c-hxwh

Weak Default Express Session Secret

Severity
Medium 5.6
Published
15 Apr 2026
Last changed
15 Apr 2026
Added to UpHeron
1 Nov 2026
Fixed in
3.1.0
Attack
Needs local access · Only under certain conditions · Needs an administrator account · Needs someone to click or open something
Attacker can
Read data · Change data
CVSS vector
CVSS:3.0/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N
Sources
Project advisories (GitHub)

Description

Detection Method: Kolega.dev Deep Code Scan

Express session secret has a weak default value 'flowise' when EXPRESS_SESSION_SECRET is not set.

The default session secret 'flowise' is publicly visible and weak. Session cookies signed with this secret can be forged by attackers.

Session hijacking and forgery - attackers can create arbitrary session cookies to impersonate any user, bypassing all authentication mechanisms.

The Express session secret defaults to the string 'flowise' when EXPRESS_SESSION_SECRET is not set (line 55). This secret is used to sign session cookies via express-session middleware. Since 'flowise' is publicly visible in the source code, an attacker can forge valid session cookies to impersonate any user without authentication. The .env.example file has this commented out (# EXPRESS_SESSION_SECRET=flowise), implying it's optional, which compounds the risk.

From FlowiseAI/Flowise's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
FlowiseServers and applications · github:flowiseai/flowise
  • Every version before 3.1.0

About Flowise

Build AI Agents, Visually

From its GitHub repository.
Archived
Yes, no longer maintainedGitHub
Weekly downloads (npm)
6,604npm, 15 Nov 2026
Docker Hub pulls
7,390,661Docker Hub, 15 Nov 2026
GitHub stars
55,573GitHub, 15 Nov 2026
Forks
25,094GitHub, 15 Nov 2026
Latest release
[email protected]GitHub, 15 Nov 2026
Released
29 Jul 2026GitHub
First published on GitHub
31 Mar 2023GitHub

References