Skip to main content

Flowise CVE-2026-56278

| EUVDEUVD-2026-40433 CRITICAL
Use of Hard-coded Credentials (CWE-798)
2026-06-30 VulnCheck GHSA-c973-v3cg-wcw4
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed Flowise instance
  2. Delivery
    Read hardcoded 'flowise' secret from public source
  3. Exploit
    Forge admin session cookie with HMAC key
  4. Execution
    Submit forged cookie to bypass authentication
  5. Impact
    Access admin account, chatflows and stored credentials

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Credential externalization
MITRE ATT&CK

2 techniques across 2 tactics: Persistence, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the target Flowise instance (3.0.13 or earlier) be running without the EXPRESS_SESSION_SECRET environment variable set - which is the default state - so that express-session falls back to the hardcoded 'flowise' secret, and that the enterprise/Passport session-based authentication path be in use. Given CVSS PR:N/UI:N/AC:L, no authentication, victim interaction, or special privileges are needed beyond network reachability of the application. The primary limiting factor is configuration: any deployment that explicitly defines a strong EXPRESS_SESSION_SECRET is not exploitable, and the instance must be network-reachable by the attacker.

Impact

All signals point to a genuine high priority for any exposed instance running default configuration. The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:N/UI:N (score 9.3) describes remote, low-complexity, unauthenticated exploitation with no user interaction, and high confidentiality and integrity impact (VC:H/VI:H), which aligns precisely with the description: a known signing key allows full account/admin impersonation. Availability impact is rated none (VA:N), consistent with an auth-bypass rather than a crash. No EPSS score, KEV listing, or POC was provided in the input, so widespread automated exploitation is not yet confirmed; however, the technical bar is essentially trivial (sign a cookie with a published constant), so absence of a POC should not lower urgency. The one real limiting factor is configuration: instances that explicitly set EXPRESS_SESSION_SECRET are not affected, so true exposure depends on how many deployments rely on the insecure default and reach the enterprise/session auth path.

Exploit ScenarioDerived

An attacker locates an internet-exposed Flowise instance running a default deployment (EXPRESS_SESSION_SECRET unset), reads the hardcoded 'flowise' secret from the public source, and crafts a session cookie signed with that key for an administrator account. Submitting the forged cookie grants an authenticated admin session without any credentials, letting the attacker access stored chatflows, API keys, and connected LLM/data integrations. No public exploit was identified at time of analysis, but the technique requires only standard express-session cookie-signing logic.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 30, 2026

Authentication bypass in Flowise 3.0.13 and earlier lets unauthenticated remote attackers forge valid signed session cookies and impersonate any user, including administrators. The flaw stems from a publicly known hardcoded default secret ('flowise') used by the express-session middleware whenever the EXPRESS_SESSION_SECRET environment variable is left unset - the default deployment state. No public exploit identified at time of analysis, but forgery is trivial since the signing key is visible in the source code, and CVSS 4.0 rates it 9.3 (Critical).

RemediationAI

Vendor-released patch: upgrade to Flowise 3.1.0 or later, which removes the insecure hardcoded fallback. As an immediate compensating control that works even before upgrading, explicitly set the EXPRESS_SESSION_SECRET environment variable to a long, high-entropy random value (e.g., 32+ random bytes) and restart the service - this replaces the publicly known signing key and invalidates the cookie-forgery technique; the only side effect is that existing user sessions are invalidated and users must re-authenticate. Additionally, until patched, restrict network exposure of the Flowise UI/API to trusted networks or behind a VPN/reverse-proxy with its own authentication, since the bug is remotely reachable. Refer to the vendor advisory at https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-2qqc-p94c-hxwh and the VulnCheck advisory at https://www.vulncheck.com/advisories/flowise-session-hijacking-via-weak-default-express-session-secret for confirmation of fixed versions.

Affected VersionsENISA

Flowise 0 <3.1.0

Affected Packages

npm flowise fix: 3.1.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Flowise is an open-source low-code/visual builder for LLM orchestration and agent workflows (Node.js/Express backend). The vulnerable component is the enterprise authentication layer at packages/server/src/enterprise/middleware/passport/index.ts, which wires Passport sessions through Express's express-session middleware. express-session uses a secret to HMAC-sign the session ID cookie so the server can detect tampering. The root cause maps to CWE-798 (Use of Hard-coded Credentials): when EXPRESS_SESSION_SECRET is not provided, the code falls back to the literal string 'flowise'. Because that constant lives in the public GitHub repository, the cookie-signing key is effectively known to everyone, defeating the integrity guarantee the signature is meant to provide. The single affected CPE is cpe:2.3:a:flowise:flowise:*:*:*:*:*:*:*:*.

Know when Flowise gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 9.3 CRITICAL
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
vuln.today AI 9.1 CRITICAL

Remote, low-complexity, unauthenticated forgery of a known signing key (AV:N/AC:L/PR:N/UI:N) yields full account/admin impersonation (C:H/I:H); no availability impact and no scope change.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jul 01, 2026 - 02:16 EUVD

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Flowise 3.0.13 and earlier contain a critical authentication bypass flaw that allows unauthenticated remote attackers to forge administrator session cookies and impersonate any user without providing credentials. Organizations running Flowise with default configuration face complete compromise of access controls and exposure of all data and functions protected by authentication.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Critical interim mitigation: Set EXPRESS_SESSION_SECRET environment variable to a strong, random value to prevent use of hardcoded default signing key. Layer additional controls: restrict network access to Flowise (VPN/IP filtering), implement reverse proxy authentication, monitor session activity for anomalous access patterns, and segment Flowise from production systems until patched. These mitigations reduce attack surface but do not eliminate the vulnerability.

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Medium
popular open-source LLM/agent app builder, but self-hosted niche footprint
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2025-8943 CRITICAL POC
9.8 Aug 14

Flowise versions before 3.0.1 allow unauthenticated access to the Custom MCPs feature, which is designed to execute OS c

CVE-2025-26319 CRITICAL POC
9.8 Mar 04

FlowiseAI Flowise version 2.2.6 contains an arbitrary file upload vulnerability in the /api/v1/attachments endpoint. Una

CVE-2025-61913 CRITICAL POC
9.9 Oct 08

Arbitrary file read and write in Flowise versions prior to 3.0.8 allows an authenticated attacker with access to the flo

CVE-2026-56274 HIGH POC
8.7 Jun 23

Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per

CVE-2025-58434 CRITICAL POC
9.8 Sep 12

Flowise is a drag & drop user interface to build a customized large language model flow. Rated critical severity (CVSS 9

CVE-2025-61687 HIGH POC
8.8 Oct 06

Authenticated users can upload arbitrary files to Flowise 3.0.7 due to missing validation, enabling persistent storage o

CVE-2026-30821 CRITICAL POC
9.8 Mar 07

Unrestricted file upload in Flowise LLM workflow builder before 3.0.13 via /api/v1/attachments endpoint allows unauthent

CVE-2026-30824 CRITICAL POC
9.8 Mar 07

Missing authentication on NVD data endpoint in Flowise before 3.0.13 allows unauthenticated access to internal vulnerabi

CVE-2025-34267 HIGH POC
8.4 Oct 14

Authenticated remote code execution in FlowiseAI Flowise (v3.0.1 up to but not including 3.0.8, and later versions when

CVE-2026-70470 CRITICAL POC
9.5 Aug 04

Remote code execution in Flowise before 3.1.3 arises because its Pyodide Python-code validator (validatePythonCodeForDat

CVE-2026-69264 CRITICAL POC
9.4 Aug 04

Remote code execution in FlowiseAI Flowise before 3.1.3 lets an attacker execute arbitrary OS commands as the Flowise pr

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy