CVE-2026-56271 Flowise - Weak Default JWT Secrets in Authentication Middleware
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| FlowiseAI Flowise | < 3.1.0 | 3.1.0 | Fixed |
| npm flowise | < 3.1.0 | 3.1.0 | Fixed |
| npm flowise(npm) | < 3.1.0 | 3.1.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm flowise | < 3.1.0 | 3.1.0 |
| FlowiseAI Flowise | < 3.1.0 | 3.1.0 |
| npm flowise(npm) | < 3.1.0 | 3.1.0 |
References
- GitHub Security Advisory (GHSA-cc4f-hjpj-g9p8) vendor-advisory
- VulnCheck Advisory: Flowise - Weak Default JWT Secrets in Authentication Middleware third-party-advisory
- github.com product