{"id":"CVE-2026-70471","published":"2026-08-04T17:43:29Z","modified":"2026-08-04T19:17:49Z","title":"Flowise: RBAC Bypass Leading to Unauthorized Workspace Variables Disclosure","vendor":"FlowiseAI","product":"Flowise","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00412,"percentile":0.27086,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-8r8h-6vcc-xhrv","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/FlowiseAI/Flowise/releases/tag/flowise@3.1.3","tags":["x_refsource_MISC"]}],"priority":{"score":10.4,"factors":[{"name":"EPSS percentile","points":5.42},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"flowiseai","affectedVersions":[{"vendor":"FlowiseAI","product":"Flowise","versions":["< 3.1.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-04T19:16:40.895135Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"flowise","vulnerableRanges":["<3.1.3"],"patched":["3.1.3"],"from":["GHSA-8r8h-6vcc-xhrv"],"provenance":"source"}],"summary":{"text":"Flowise, an LLM flow builder, has an authorization flaw in its custom function execution sandbox, which injects workspace variables without enforcing the variables:view permission that the official Variables API requires. An attacker with network access and low privileges, meaning an authenticated user or API key denied variables:view, can call the node custom function endpoint to receive all workspace variables, including static values and server environment-backed runtime values, potentially exposing secrets such as database passwords and cloud keys.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:50:34Z"},"euvd":{"id":"EUVD-2026-52850","exploited":false,"provenance":"source"}}