GHSA-cc4f-hjpj-g9p8: Flowise: Weak Default JWT Secrets
- Identifier
- GHSA-cc4f-hjpj-g9p8
- Published
- Record updated
- Affected
- flowise <= 3.0.13
- Fixed in
- 3.1.0
- released March 16, 2026, 31 days before disclosure
Summary
Flowise has weak hardcoded fallback values for its JWT settings in packages/server/src/enterprise/middleware/passport/index.ts (lines 29-34), including 'auth_token', 'refresh_token', 'AUDIENCE' and 'ISSUER'. When the JWT_AUTH_TOKEN_SECRET, JWT_REFRESH_TOKEN_SECRET, JWT_AUDIENCE or JWT_ISSUER environment variables are unset, these publicly visible defaults are used, allowing an attacker to forge valid JWTs and impersonate any user, including administrators, without authentication. The source rates the severity as Critical.
Mitigation
Remove all default secrets, require all JWT environment variables to be explicitly set, add startup validation that throws an error if any JWT secret is missing, use cryptographically random secrets (256+ bits) for each secret independently, and implement a JWT secret rotation mechanism.
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