# CVE-2026-56271: Flowise - Weak Default JWT Secrets in Authentication Middleware

- Severity: Critical 9.3 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.45%, higher than 41% of CVEs (2026-12-02)
- Published: 2026-04-16T21:21:12.000Z
- Modified: 2026-10-25T15:10:00.147Z
- Also known as: GHSA-cc4f-hjpj-g9p8
- Weaknesses: CWE-321, CWE-327
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: VulnCheck

## Description

Flowise before 3.1.0 (affected versions 3.0.13 and earlier) uses weak hardcoded default JWT secrets ('auth_token', 'refresh_token') and default audience and issuer values ('AUDIENCE', 'ISSUER') in the enterprise passport authentication middleware (packages/server/src/enterprise/middleware/passport/index.ts). When the corresponding environment variables (JWT_AUTH_TOKEN_SECRET, JWT_REFRESH_TOKEN_SECRET, JWT_AUDIENCE, JWT_ISSUER) are not set, the application silently falls back to these publicly known defaults, allowing an attacker to forge valid JWTs and impersonate any user, including administrators, resulting in authentication bypass.

(As written by CVE List.)

## Affected

- Flowise Flowise: before 3.1.0 (not affected: 3.1.0)
- flowise (npm): before 3.1.0
- flowiseai flowise: before 3.1.0

## Every score

- VulnCheck: CVSS:4.0 9.3 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 5.6 Medium `CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N`

## References

- <https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-cc4f-hjpj-g9p8> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/flowise-weak-default-jwt-secrets-in-authentication-middleware> (third-party-advisory)
- <https://github.com/FlowiseAI/Flowise> (package)

## Sources

- CVE List: [CVE-2026-56271](https://www.cve.org/CVERecord?id=CVE-2026-56271), CVE Terms of Use, modified 2026-07-13
- GitHub Advisory Database: [GHSA-cc4f-hjpj-g9p8](https://github.com/advisories/GHSA-cc4f-hjpj-g9p8), CC-BY-4.0, modified 2026-07-13
- NVD: [CVE-2026-56271](https://nvd.nist.gov/vuln/detail/CVE-2026-56271), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-56271 · Whole record: https://cve.day/CVE-2026-56271.json · Rebuilt by cve.day 2026-11-25T22:59:27.756Z
