CVE-2026-56269: Flowise - Weak Default Token Hash Secret in JWT Token Encryption

Published Jun 24, 2026
·
Updated

Flowise before 3.1.0 (npm package flowise, versions 3.0.13 and earlier) uses a weak hardcoded default value 'Secre$t' for the TOKENHASHSECRET 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.

Affected Software

2 affected components
npm/flowise<3.1.0
FlowiseAI Flowise<3.1.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm package flowise to a version that resolves this vulnerability.

    Fixed in 3.1.0
  2. Configuration

    Set the TOKEN_HASH_SECRET environment variable to a strong, unique value so Flowise does not fall back to the weak hardcoded default 'Secre$t' used for AES-256-CBC encryption of JWT meta fields (user IDs/workspace IDs).

    Flowise (packages/server/src/enterprise/utils/tempTokenUtils.ts) TOKEN_HASH_SECRET = configured to a strong, non-default secret (avoid the weak default 'Secre$t')
  3. Operational

    After changing TOKEN_HASH_SECRET and applying the upgrade to 3.1.0, invalidate/refresh any existing JWT tokens that may contain encrypted metadata derived from the old (default) secret.

Event History

Jun 24, 2026
CVE Published
via MITRE·11:53 AM
Data Sourced
via MITRE·11:53 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-56269?

The severity of CVE-2026-56269 is medium with a score of 4.6.

2

How do I fix CVE-2026-56269?

To fix CVE-2026-56269, configure the TOKEN_HASH_SECRET environment variable with a strong, custom secret before using the software.

3

What impact does CVE-2026-56269 have on security?

CVE-2026-56269 could lead to weakened security in JWT token encryption due to the use of a weak default secret.

4

Which versions of Flowise are affected by CVE-2026-56269?

CVE-2026-56269 affects Flowise versions 3.0.13 and earlier.

5

Can CVE-2026-56269 lead to unauthorized access?

Yes, the weak default token hash secret can potentially allow unauthorized access if not properly configured.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203