Critical severity · published Jul 12, 2026
CVE-2026-56271
Flowise - Weak Default JWT Secrets in Authentication Middleware
9.8
CVSS
0.7%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.7% · higher than 51% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FL
Flowise · Flowise
before 3.1.0 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-56271
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-56271
Vendor Advisory
https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-cc4f-hjpj-g9p8
Third Party Advisory
https://www.vulncheck.com/advisories/flowise-weak-default-jwt-secrets-in-authentication-middleware
More from Flowise
9.9
CVE-2026-56274
Flowise - Remote Code Execution via MCP Security Bypass in validateCommandFlags and validateArgsForLocalFileAccess
9.8
CVE-2025-71338
Flowise through 2.2.7 - Arbitrary File Write to Remote Code Execution via document-store API
9.8
CVE-2025-71336
Flowise - Unsandboxed Remote Code Execution via Custom MCP
9.8
CVE-2025-71334
Flowise - Arbitrary File Access via Missing Chat Flow ID Validation
9.8
CVE-2025-71333
Flowise - Arbitrary File Upload via Unauthenticated /api/v1/attachments Endpoint
