Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed Flowise instance
-
DeliveryRead hardcoded 'flowise' secret from public source
-
ExploitForge admin session cookie with HMAC key
-
ExecutionSubmit forged cookie to bypass authentication
-
ImpactAccess 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete
Flowise versions before 3.0.1 allow unauthenticated access to the Custom MCPs feature, which is designed to execute OS c
FlowiseAI Flowise version 2.2.6 contains an arbitrary file upload vulnerability in the /api/v1/attachments endpoint. Una
Arbitrary file read and write in Flowise versions prior to 3.0.8 allows an authenticated attacker with access to the flo
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Flowise is a drag & drop user interface to build a customized large language model flow. Rated critical severity (CVSS 9
Authenticated users can upload arbitrary files to Flowise 3.0.7 due to missing validation, enabling persistent storage o
Unrestricted file upload in Flowise LLM workflow builder before 3.0.13 via /api/v1/attachments endpoint allows unauthent
Missing authentication on NVD data endpoint in Flowise before 3.0.13 allows unauthenticated access to internal vulnerabi
Authenticated remote code execution in FlowiseAI Flowise (v3.0.1 up to but not including 3.0.8, and later versions when
Remote code execution in Flowise before 3.1.3 arises because its Pyodide Python-code validator (validatePythonCodeForDat
Remote code execution in FlowiseAI Flowise before 3.1.3 lets an attacker execute arbitrary OS commands as the Flowise pr
EUVD-2026-40433
GHSA-c973-v3cg-wcw4
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB