CVE-2026-56269
Flowise - Weak Default Token Hash Secret in JWT Token Encryption
- State
- Published
- Severity
- 4.3 Medium
- Published
- Jun 24, 2026
- Updated
- Jun 24, 2026
- Reserved
- Jun 20, 2026
Description
Flowise before 3.1.0 (npm package flowise, versions 3.0.13 and earlier) uses a weak hardcoded default value 'Secre$t' for the TOKEN_HASH_SECRET environment variable in packages/server/src/enterprise/utils/tempTokenUtils.ts when the variable is not configured. This secret derives the AES-256-CBC key used to encrypt user IDs and workspace IDs in the 'meta' field of JWT tokens. An attacker who knows the default secret can decrypt this metadata to extract internal user and workspace identifiers, and re-encrypt manipulated values such as altered user or workspace IDs. Because the JWT signature is validated separately, decrypting or tampering with this metadata does not by itself grant access, but the disclosure of internal identifiers and possible metadata manipulation could aid privilege escalation or unauthorized data access.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 4.3 Medium | CVSS:4.0/AV:L/AC:H/AT:N/PR:H/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 4.6 Medium | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:L/A:N | VulnCheck |
Weaknesses
- CWE-798 Use of Hard-coded Credentials
Affected Products
| Product | Versions |
|---|---|
FlowiseFlowise |
|
References
- GitHub Security Advisory (GHSA-m7mq-85xj-9x33)vendor-advisory
- VulnCheck Advisory: Flowise - Weak Default Token Hash Secret in JWT Token Encryptionthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.