CVE-2026-56269 Flowise - Weak Default Token Hash Secret in JWT Token Encryption
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
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.0.13 | 3.1.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm flowise | < 3.1.0 | 3.1.0 |
| npm flowise(npm) | <= 3.0.13 | No fix listed |
| FlowiseAI Flowise | < 3.1.0 | 3.1.0 |
| npm flowise(npm) | < 3.1.0 | 3.1.0 |
References
- GitHub Security Advisory (GHSA-m7mq-85xj-9x33) mitigation vendor-advisory
- VulnCheck Advisory: Flowise - Weak Default Token Hash Secret in JWT Token Encryption third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product