CVE-2026-56269 Details
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.
A vulnerability exists in Flowise versions prior to 3.1.0, specifically in the npm package flowise, versions 3.0.13 and earlier. The issue arises from a weak hardcoded default value of 'Secre$t' for the TOKEN_HASH_SECRET environment variable. This default is used in the JWT token encryption process, where it derives the AES-256-CBC key that encrypts user IDs and workspace IDs in the 'meta' field of the tokens. An attacker aware of the default secret can decrypt this metadata to obtain internal user and workspace identifiers. Furthermore, they could manipulate and re-encrypt values, such as altered user or workspace IDs. Although the JWT signature validation is separate, allowing for decryption or tampering with the metadata could facilitate privilege escalation or unauthorized data access.
Users are advised to set the TOKEN_HASH_SECRET environment variable to a strong, random value. The application should require this secret to be explicitly configured and throw an error on startup if it is not set.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 24, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-m7mq-85xj-9x33 | [email protected] | MitigationVendor Advisory |
| https://www.vulncheck.com/advisories/flowise-weak-default-token-hash-secret-in-jwt-token-encryption | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-798 | Use of Hard-coded Credentials | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| flowiseai flowise | < 3.1.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 25, 2026 | CVE Translated | [email protected] |
| Jun 26, 2026 | Initial Analysis | [email protected] |
| Jun 24, 2026 | CVE Modified | CISA-ADP |
| Jun 24, 2026 | New CVE Received | [email protected] |