Skip to content
OpenAdvisories
High · 7.1 CVE-2026-70471 EUVD-2026-52850GHSA-8r8h-6vcc-xhrv

Flowise: RBAC Bypass Leading to Unauthorized Workspace Variables Disclosure

Published Aug 4, 2026 · Updated Aug 4, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
FlowiseAI Flowise < 3.1.3 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm flowise < 3.1.3 3.1.3 GHSA-8r8h-6vcc-xhrv

Advisories 1

References