CVE-2026-56271
published critical CVSS 4.0 · 9.3Flowise - Weak Default JWT Secrets in Authentication Middleware
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Flowise | — | Flowise0 to < 3.1.0 (affected · semver) · 3.1.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.8 | critical | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Flowise | Flowise | 0 to < 3.1.0 (affected · semver)3.1.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-321 Use of Hard-coded Cryptographic Key
References
2- GitHub Security Advisory (GHSA-cc4f-hjpj-g9p8) https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-cc4f-hjpj-g9p8
- VulnCheck Advisory: Flowise - Weak Default JWT Secrets in Authentication Middleware https://www.vulncheck.com/advisories/flowise-weak-default-jwt-secrets-in-authentication-middleware
Provider assertions
2VulnCheck · cna
Flowise - Weak Default JWT Secrets in Authentication Middleware
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8fce73845d614ec98f8278afdd80069a7b17391af0a2b9a382148c6f52d9d7f3
- Ingested
- 23 Sep 2026, 09:21:21 UTC
- Source record
- Official CVE record