CVE-2026-56271
CWE-321Published: July 12, 2026· Updated: Jul 14, 2026
Official 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.
Risk Analysis
This critical vulnerability in Flowise versions 3.0.13 and earlier stems from the use of weak, hardcoded default JWT secrets. An attacker can forge valid authentication tokens, bypass authentication, and impersonate any user, including administrators. The CVSS score of 9.8 highlights the severe impact on confidentiality, integrity, and availability.
No public exploit is currently known for this vulnerability. However, the flaw is remotely exploitable with low attack complexity, as an attacker can leverage the publicly known default secrets without needing special privileges or user interaction.
Upgrade Flowise to version 3.1.0 or later to address this vulnerability. Ensure that all relevant environment variables (JWT_AUTH_TOKEN_SECRET, JWT_REFRESH_TOKEN_SECRET, JWT_AUDIENCE, JWT_ISSUER) are explicitly set to strong, unique values in your deployment environment.
Technical Analysis
CVE-2026-56271 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (2)
Quick Facts
Related CVEs (CWE-321)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2026-56271 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts