Record summary

CVE-2026-70471 has a selected CVSS score of 7.1 (high).

Description

Flowise is a drag-and-drop user interface for building customized large language model (LLM) flows. Prior to 3.1.3, Flowise injects $vars into the code execution sandbox without requiring variables:view, bypassing the permission-protected Variables API. Variables for the active workspace are fetched at packages/components/src/utils.ts and runtime variables are resolved from server environment variables, while the official variables route enforces variables:view. A user or API key that is denied variables:view can call /api/v1/node-custom-function and receive $vars pre-populated with all variables for the workspace, including Variable.name to Variable.value static variables and Variable.name to process.env[Variable.name] runtime variables. This can expose secrets such as database passwords, JWT secrets, SMTP passwords, and cloud keys, depending on the workspace Variables configuration. This issue is fixed in version 3.1.3.

Description source: CVE List

Exploitation context

CISA SSVC decision

ExploitationNone
AutomatableNo
Technical impactPartial

CISA Coordinator · SSVC 2.0.3 · Evaluated Aug 4, 2026 · Source: CVE List

Affected products and versions

2
ProductSourceVersion rangeStatus
CVE List< 3.1.3affected
GitHub AdvisoryBefore 3.1.3 · Fixed in 3.1.3affected

Research & analysis

1
Technical researchSecureLayer7 LabsSource: EIP research review

CVE-2026-70471: Flowise RBAC Bypass Leading to Workspace Variables Disclosure

CVE-2026-70471 is a missing authorization vulnerability (CWE-862) in Flowise before 3.1.3. The /api/v1/node-custom-function endpoint injects all workspace variables as $vars into the JavaScript execution sandbox without checking the variables:view permission, bypassing the correctly-protected /api/v1/variables route. The root cause is in utils.ts:932 (unconditional variable fetch) and utils.ts:1782 (unconditional sandbox injection). Any authenticated API key holder can call the endpoint with a payload returning $vars to read static and runtime variables, potentially exposing secrets such as database passwords, JWT secrets, cloud API keys, or SMTP credentials resolved from process.env. The fix in 3.1.3 gates $vars injection on the caller holding variables:view. Reported by Check Point Research.

Root causeTechnical detail
https://securelayer7.net/lab/cve-2026-70471-flowise-rbac-bypass-workspace-variables-disclosure
Research notes

References

2