GHSA-m7mq-85xj-9x33: Flowise: Weak Default Token Hash Secret
- Identifiers
- CVE-2026-56269GHSA-m7mq-85xj-9x33
- Published
- Record updated
- Affected
- flowise <= 3.0.13
- Fixed in
- 3.1.0
- released March 16, 2026, 31 days before disclosure
Summary
GHSA-m7mq-85xj-9x33 concerns Flowise, where the encryption key derived from TOKEN_HASH_SECRET falls back to the hardcoded value 'Secre$t' when the variable is unset, in packages/server/src/enterprise/utils/tempTokenUtils.ts (lines 31-34). The key encrypts user IDs and workspace IDs in JWT tokens, so an attacker who knows the default can decrypt and manipulate that metadata, potentially changing those IDs to escalate privileges or reach unauthorized data.
Mitigation
Require TOKEN_HASH_SECRET to be set as a strong random value in environment variables. Throw an error on startup if it is not configured. Use a minimum of 32 bytes of entropy.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- flowisenpmLLM dependency since 2024-03-12
Related items
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database
- MediumNSA urges immediate post-quantum shift after AI labs report cryptography breakthroughsSimilar attack, CSO Online
- LowPerplexity caught an AI attacker casing its cloudSimilar attack, CSO Online