Flowise - Weak Default Token Hash Secret in JWT Token Encryption (Flowise Flowise)

CVE-2026-56269
MEDIUM 4.3

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

VersionScoreVectorScored by
CVSS 4.0MEDIUM 4.3CVSS:4.0/AV:L/AC:H/AT:N/PR:H/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:NVulnCheck
CVSS 3.1MEDIUM 4.6CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:L/A:NVulnCheck
CVSS 4.0MEDIUM 4.3CVSS: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:XNVD Β· disclosure@vulncheck.com (Secondary)
CVSS 3.1MEDIUM 4.6CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:L/A:NNVD Β· disclosure@vulncheck.com (Secondary)

Advisories

European references

Affected configurations (NVD CPE)

Affected products

ProductVersions
Flowise Β· Flowiseaffected 0 < 3.1.0 ; unaffected 3.1.0

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST β€” attribution requested
ENISA EUVDENISA β€” reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain β€” this product uses data from the NVD API but is not endorsed or certified by the NVD