Skip to main content

Flowise CVE-2026-56271

| EUVDEUVD-2026-43228 CRITICAL
Use of Hard-coded Cryptographic Key (CWE-321)
2026-07-12 VulnCheck GHSA-jpvq-qwhh-pw47
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Reach Flowise auth endpoint over network
  2. Delivery
    Read hardcoded default JWT secret/audience/issuer from public source
  3. Exploit
    Forge admin JWT signed with 'auth_token'
  4. Execution
    Submit token to passport middleware
  5. Persist
    Bypass authentication as administrator
  6. Impact
    Full 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
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 – 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

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

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

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

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/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
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Jul 12, 2026 - 13:01 EUVD

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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.4%
Top 68% exploitable
Prevalence
Medium
popular open-source LLM workflow builder; enterprise auth tier narrows footprint
Exploit
POC
Public exploit code exists
Social Media
4
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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 Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
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

66
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: +20
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