Flowise - Weak Default JWT Secrets in Authentication Middleware
Fix:the vendor lists fixed versions See versions ↓
Flowise · Flowise
Flowise versions 3.0.13 and earlier (fixed in 3.1.0) contain weak hardcoded default JWT secrets, audience, and issuer values in the enterprise passport authentication middleware, used whenever the corresponding JWT environment variables are unset. An attacker with network access and no credentials can forge valid JWTs using these publicly known defaults and impersonate any user, including administrators, to bypass authentication.
Official description · CVE.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.
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
First seen exploited 2 months after disclosure.
- Disclosedday 0
- First seen exploitedVulnCheck KEV evidence+2 mo
Affected versions and fixes
as published in the CVE recordFlowise Flowise
Affected: < 3.1.0
Not affected: 3.1.0
What security researchers reported
Not named in any threat report yetAlso mentioned in 2 community threat pulses (AlienVault OTX)
Weaker evidencePulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.