Skip to content
HighVulnerability

GHSA-8r8h-6vcc-xhrv: Flowise: RBAC Bypass Leading to Unauthorized Workspace Variables Disclosure

Published
Record updated
View JSON
Affected
  • flowise <= 3.1.2
Fixed in
3.1.3
  • released June 25, 2026, 40 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.4%

Summary

Flowise fetches a workspace's variables without enforcing the variables:view permission at the code-execution path in packages/components/src/utils.ts. Any user or API key that can call /api/v1/node-custom-function gets $vars pre-populated with every workspace variable, including runtime values read from process.env, so a caller denied variables:view can still read secrets such as database passwords, JWT secrets and cloud keys.

Mitigation

Enforce variables:view before injecting $vars, or inject only an explicit allowlist of the variables a function needs. In self-hosted deployments, consider disabling or heavily restricting type=runtime variables, or restrict which environment keys may be mapped.