Skip to content
MediumVulnerability

GHSA-2qqc-p94c-hxwh: Flowise: Weak Default Express Session Secret

Published
Record updated
View JSON
Affected
  • flowise <= 3.0.13
Fixed in
3.1.0
  • released March 16, 2026, 31 days before disclosure

Summary

Flowise falls back to the hardcoded session secret 'flowise' in packages/server/src/enterprise/middleware/passport/index.ts when EXPRESS_SESSION_SECRET is unset. Because this value is publicly visible in the source, an attacker can forge session cookies and impersonate any user without authentication. The .env.example file comments out EXPRESS_SESSION_SECRET, implying it is optional.

Mitigation

The source recommends requiring EXPRESS_SESSION_SECRET to be set to a cryptographically strong random value of at least 256 bits, and throwing an error on startup if it is not configured.