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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N · Attack vector: Network| https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-8r8h-6vcc-xhrv | Vendor Advisory |
| https://github.com/FlowiseAI/Flowise/releases/tag/flowise@3.1.3 | Issue TrackingPatch |
A short explanation of who is affected, the impact and what to do, written only from this record's data.
AI isn't configured on this server (set AI_PROVIDER and an API key).
Add the affected products to your watchlist and get an e-mail when new CVEs list your versions.
+ Flowiseai Flowise