Loading advisory.
Loading advisory.
Flowise: RBAC Bypass Leading to Unauthorized Workspace Variables Disclosure
Variables for the active workspace are fetched without checking “variables:view” at this call site: flowise-src/ packages/components/src/utils.ts:932 Runtime variables are resolved from server environment variables: flowise-src/packages/components/src/utils.ts:976 $vars is always injected into the…
Published 2026-08-04 17:43 UTC · Modified 2026-08-04 19:17 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| flowise | npm | < 3.1.3 | 3.1.3 | npm install flowise@3.1.3 |
Variables for the active workspace are fetched without checking “variables:view” at this call site: flowise-src/ packages/components/src/utils.ts:932
Runtime variables are resolved from server environment variables: flowise-src/packages/components/src/utils.ts:976
$vars is always injected into the code execution sandbox: flowise-src/packages/components/src/utils.ts:1782
The official Variables API is permission-protected (contrast): flowise-src/packages/server/src/routes/variables/ index.ts:11
A user/API key might be denied variables:view (and the /api/v1/variables route enforces it), but they can still:
call /api/v1/node-custom-function (Finding 1)
and have $vars pre-populated with all variables for the workspace, including runtime values from process.env
Inside the custom JS context, $vars contains a flat map of:
Variable.name -> Variable.value for static variables, and
Variable.name -> process.env[Variable.name] for runtime variables (type === 'runtime')
This can expose secrets such as database passwords, JWT secrets, SMTP passwords, cloud keys, etc., depending on what the workspace Variables are configured to map.
Do not inject $vars unless the caller is authorized:
enforce variables:view before injecting $vars, or
inject only an explicit allowlist of variables needed for the function
Consider disabling or heavily restricting type=runtime variables in self-hosted environments (or restrict which env keys may be mapped).
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.004 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.004 | first score | v2026.06.15 |