Flowise fixes NodeVM sandbox escape vulnerability that could lead to authenticated RCE and arbitrary file read
Flowise NodeVM sandbox escape via puppeteer allowlist - authenticated RCE and arbitrary file read via Chromium
Flowise's flowise and flowise-components in versions 3.1.2 and earlier contain a vm2/@flowiseai/nodevm JavaScript sandbox escape vulnerability. Authenticated users can pass controllable executablePath and args parameters to puppeteer.launch() via the /api/v1/node-custom-function endpoint, bypassing the sandbox boundary. This vulnerability allows attackers to execute arbitrary OS commands as the Flowise process user, which is root in the official Docker image, and read arbitrary files on the host via Chromium's file:// URL handling. Exploitation in versions 3.0.8 to 3.1.2 requires ALLOW_BUILTIN_DEP=true to be enabled; earlier versions are exploitable by default. The vulnerability is fixed in 3.1.3.
The advisory gives affected version ranges, exploitation prerequisites, and fixed versions, allowing teams deploying Flowise to assess their exposure.