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

Critical 9.3 Published Updated

Attackers can forge session cookies using a hardcoded default secret to impersonate users and bypass authentication in Flowise.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-56278?

CVE-2026-56278 is a critical vulnerability in Flowiseai Flowise, published on 30 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-798

Which versions are affected by CVE-2026-56278?

2 open source packages ship an affected version, including flowise. It affects 1 product.

PackageAffectedFixed in
flowise npmAll versions3.1.0
flowise npmAll versions3.1.0

Products include Flowiseai Flowise.

How do I fix CVE-2026-56278?

Upgrade flowise to 3.1.0 or later.

Is CVE-2026-56278 being exploited?

There is no known exploitation of CVE-2026-56278 in the wild and no public exploit code.

All Flowiseai Flowise vulnerabilities

Sources

Also known as GHSA-2qqc-p94c-hxwh, GHSA-c973-v3cg-wcw4.

Is CVE-2026-56278 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free