Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach Flowise auth endpoint over network
-
DeliveryRead hardcoded default JWT secret/audience/issuer from public source
-
ExploitForge admin JWT signed with 'auth_token'
-
ExecutionSubmit token to passport middleware
-
PersistBypass authentication as administrator
-
ImpactFull account takeover and data access
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Key management, no hard-coded keys
|
| Exploitation Conditions | The specific prerequisite is that the target runs the Flowise enterprise passport authentication middleware with one or more of the JWT_AUTH_TOKEN_SECRET, JWT_REFRESH_TOKEN_SECRET, JWT_AUDIENCE, or JWT_ISSUER environment variables left unset, which triggers the silent fallback to the hardcoded defaults 'auth_token', 'refresh_token', 'AUDIENCE', and 'ISSUER'. When that condition holds, exploitation is remote and unauthenticated (PR:N/UI:N) against the reachable authentication endpoints. The limiting factor is deployment configuration: an operator who has explicitly configured strong, unique values for all four variables is not exploitable, so realistic risk is confined to instances running with default or incomplete JWT environment configuration. |
| Impact | All available signals point to genuine high priority rather than an inflated CVSS. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H) describes remote, network-reachable, unauthenticated exploitation with high impact to confidentiality, integrity, and availability, which matches the described full administrator impersonation. No EPSS score, SSVC decision, or CISA KEV entry was provided in the input, so probabilistic exploitation likelihood and automatability cannot be quantified from this data. There is no evidence of active exploitation (not in KEV) and no public exploit identified at time of analysis, so this is not confirmed in-the-wild. The one meaningful limiting factor the raw vector does not capture is that exploitation requires the deployment to have left the four JWT environment variables unset - a plausible default or misconfiguration for the enterprise auth feature but not guaranteed on every instance; a hardened deployment that sets strong secrets is not vulnerable. |
| Exploit ScenarioDerived | An attacker who can reach a Flowise instance's login or API endpoints reads the publicly known default secret and claim values from the open-source repository, crafts a JWT signed with 'auth_token' carrying an administrator's identity plus the 'AUDIENCE'/'ISSUER' claims, and presents it to the server. Because the middleware validates against the same hardcoded defaults, the forged token is accepted and the attacker gains administrative access without any credentials or user interaction. No public exploit code has been identified, but the low attack complexity means a working forgery is trivial to build. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 12, 2026
Authentication bypass in Flowise 3.0.13 and earlier lets remote unauthenticated attackers forge valid JWTs and impersonate any user, including administrators, because the enterprise passport authentication middleware silently falls back to publicly known hardcoded secrets ('auth_token', 'refresh_token') and default audience/issuer values ('AUDIENCE', 'ISSUER') whenever the JWT_AUTH_TOKEN_SECRET, JWT_REFRESH_TOKEN_SECRET, JWT_AUDIENCE, and JWT_ISSUER environment variables are unset. Reported by VulnCheck and rated CVSS 4.0 9.3 (Critical), it grants full account takeover, though there is no public exploit identified at time of analysis and no CISA KEV listing.
RemediationAI
Vendor-released patch: upgrade Flowise to 3.1.0 or later, which is the primary and authoritative fix per the GitHub Security Advisory GHSA-cc4f-hjpj-g9p8 (https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-cc4f-hjpj-g9p8). If immediate upgrade is not possible, the effective compensating control is to explicitly set strong, unique, high-entropy values for all four environment variables - JWT_AUTH_TOKEN_SECRET, JWT_REFRESH_TOKEN_SECRET, JWT_AUDIENCE, and JWT_ISSUER - so the application no longer falls back to the hardcoded defaults; this must be done on every instance, and any previously issued tokens should be treated as compromised and rotated. Additionally restrict network exposure of the Flowise server behind a VPN or authenticated reverse proxy and limit access to trusted networks, accepting the trade-off of reduced accessibility for legitimate remote users, until patching is complete. See the VulnCheck advisory (https://www.vulncheck.com/advisories/flowise-weak-default-jwt-secrets-in-authentication-middleware) for further detail.
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 platform for building LLM/agent workflows; the affected code is its enterprise-tier authentication layer, packages/server/src/enterprise/middleware/passport/index.ts, which uses Passport with JWT strategies. JWT integrity depends entirely on a server-side signing secret plus matching audience and issuer claims. The root cause is CWE-321 (Use of Hard-coded Cryptographic Key): rather than failing closed when JWT_AUTH_TOKEN_SECRET, JWT_REFRESH_TOKEN_SECRET, JWT_AUDIENCE, or JWT_ISSUER are absent, the middleware substitutes constant literals ('auth_token', 'refresh_token', 'AUDIENCE', 'ISSUER'). Because these values are visible in the public source repository, anyone can reproduce the exact signing key and claim set, sign a token for an arbitrary user id and role, and have it accepted as authentic. The affected component is identified by 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:H/SC:N/SI:N/SA:N
Remote unauthenticated JWT forgery needs no privileges or interaction (AV:N/AC:L/PR:N/UI:N); admin impersonation yields full C/I/A impact within the app (S:U).
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 weak hardcoded default JWT secrets ('auth_token', 'refresh_token') and default audience and issuer values ('AUDIENCE', 'ISSUER') in the enterprise passport authentication middleware (packages/server/src/enterprise/middleware/passport/index.ts). When the corresponding environment variables (JWT_AUTH_TOKEN_SECRET, JWT_REFRESH_TOKEN_SECRET, JWT_AUDIENCE, JWT_ISSUER) are not set, the application silently falls back to these publicly known defaults, allowing an attacker to forge valid JWTs and impersonate any user, including administrators, resulting in authentication bypass.
Executive ViewAI
Flowise deployments lacking properly configured JWT environment variables expose organizations to uncontrolled administrative account takeover. Attackers can forge authentication tokens to impersonate users and gain full system administration without credentials, creating immediate risk to all protected data and business-critical operations.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Set all four JWT environment variables to cryptographically strong, unique values to prevent fallback to hardcoded defaults; (2) restrict Flowise network access to internal-only or VPN-protected endpoints; (3) enable comprehensive authentication logging and monitoring for unusual administrative activity; (4) audit and revoke all authentication tokens issued prior to remediation.
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-43228
GHSA-jpvq-qwhh-pw47
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB