Flowise - Weak Default Token Hash Secret in JWT Token Encryption (Flowise Flowise)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.13 % Β· percentile 3 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- VulnCheck
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-798 β Use of Hard-coded Credentials
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 4.0 | MEDIUM 4.3 | 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 |
| CVSS 3.1 | MEDIUM 4.6 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:L/A:N | VulnCheck |
| CVSS 4.0 | MEDIUM 4.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD Β· disclosure@vulncheck.com (Secondary) |
| CVSS 3.1 | MEDIUM 4.6 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:L/A:N | NVD Β· disclosure@vulncheck.com (Secondary) |
Advisories
- GHSA-m7mq-85xj-9x33 β Flowise: Weak Default Token Hash Secret
European references
- ENISA EUVD Β· EUVD-2026-38746
- GCVE Β· GCVE-0-2026-56269
Affected configurations (NVD CPE)
cpe:2.3:a:flowiseai:flowise:*:*:*:*:*:*:*:*< 3.1.0
Affected products
| Product | Versions |
|---|---|
| Flowise Β· Flowise | affected 0 < 3.1.0 ; unaffected 3.1.0 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |