CVE-2026-70471: Flowise RBAC Bypass Leading To Unauthorized Vulnerability
HIGHCVE-2026-70471 is a HIGH rbac bypass leading to unauthorized vulnerability (CWE-863: Incorrect Authorization) affecting Flowise libraries in the npm ecosystem. The issue involves rbac bypass leading to unauthorized workspace variables disclosure. Remediation is available by upgrading affected packages to version 3.1.3.
CVE-2026-70471 at a Glance
How to Fix CVE-2026-70471
To remediate this vulnerability, upgrade all affected Flowise dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install flowise@3.1.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls flowise
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-70471, inspect your project dependencies using npm:
npm ls flowise
Analyze the terminal output to locate any version of Flowise in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.1.3), your application is affected.
Note: The npm ls flowise command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In Flowise, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-70471 Affected Flowise Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
flowise
|
npm |
< 3.1.3
|
3.1.3
|
References
Frequently Asked Questions
What is CVE-2026-70471?
Which Flowise versions are affected?
What version fixes CVE-2026-70471?
Is flowise affected?
What CWE is associated with CVE-2026-70471?
How can I check npm dependencies for CVE-2026-70471?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8r8h-6vcc-xhrv",
"modified" : "2026-08-04T17:43:36Z",
"published" : "2026-08-04T17:43:36Z",
"aliases" : [ "CVE-2026-70471" ],
"summary" : "Flowise: RBAC Bypass Leading to Unauthorized Workspace Variables Disclosure",
"details" : "## Finding — Unauthorized Workspace Variables disclosure via $vars injection (bypasses variables:view)\n\n ### What’s wrong (code locations)\n\n - Variables for the active workspace are fetched without checking “variables:view” at this call site: flowise-src/\n packages/components/src/utils.ts:932\n - Runtime variables are resolved from server environment variables: flowise-src/packages/components/src/utils.ts:976\n - $vars is always injected into the code execution sandbox: flowise-src/packages/components/src/utils.ts:1782\n - The official Variables API is permission-protected (contrast): flowise-src/packages/server/src/routes/variables/\n index.ts:11\n\n ### Why it is a privilege boundary bypass\n\n A user/API key might be denied variables:view (and the /api/v1/variables route enforces it), but they can still:\n\n - call /api/v1/node-custom-function (Finding 1)\n - and have $vars pre-populated with all variables for the workspace, including runtime values from process.env\n\n ### What data is exposed\n\n Inside the custom JS context, $vars contains a flat map of:\n\n - Variable.name -> Variable.value for static variables, and\n - Variable.name -> process.env[Variable.name] for runtime variables (type === 'runtime')\n\n This can expose secrets such as database passwords, JWT secrets, SMTP passwords, cloud keys, etc., depending on what\n the workspace Variables are configured to map.\n\n ### Recommended fix (minimum)\n\n - Do not inject $vars unless the caller is authorized:\n - enforce variables:view before injecting $vars, or\n - inject only an explicit allowlist of variables needed for the function\n - Consider disabling or heavily restricting type=runtime variables in self-hosted environments (or restrict which env\n keys may be mapped).",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "flowise"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.1.3"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 3.1.2"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-8r8h-6vcc-xhrv"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/FlowiseAI/Flowise"
}, {
"type" : "WEB",
"url" : "https://github.com/FlowiseAI/Flowise/releases/tag/flowise@3.1.3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-863" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-08-04T17:43:36Z",
"nvd_published_at" : null
}
}