Flowise: RCE via NodeVM Sandbox Escape in executeJavaScriptCode() nodeVMOptions Override
What fixes it
- 3.1.3flowise, npmOSV
npm install flowise@3.1.3 - 3.1.3flowise-components, npmOSV
npm install flowise-components@3.1.3
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Timeline
- 4 Aug 2026, 15:28 UTCPublishedCVE List
- 23 Oct 2026, 23:36 UTCExploit code publicGitHub proof-of-concept repositories
Reports 1
1 outlet mention it. Reports are not confirmation; each links to its source.
Description
Flowise is a drag & drop user interface to build a customized large language model flow. Prior to 3.1.3, executeJavaScriptCode() accepted caller-provided nodeVMOptions and merged them over the default NodeVM security settings in packages/components/src/utils.ts. An authenticated attacker reaching packages/server/src/routes/node-custom-functions/index.ts could run a custom function that imported flowise-components/dist/src/utils.js, called executeJavaScriptCode() again with nodeVMOptions.require.builtin set to allow all built-in modules, and then required child_process to execute arbitrary system commands as root on the Flowise server. This issue is fixed in version 3.1.3.
Text from CVE List
Affected versions 3
- Flowiseaffected: < 3.1.3CVE List
- flowise, npmfrom first release, fixed in 3.1.3OSV
- flowise-components, npmfrom first release, fixed in 3.1.3OSV
References 4
- github.com/FlowiseAI/Flowise/commit/3086cb7e323bb96c5a581d3232ef975b0d92183dFixvia CVE List
- github.com/FlowiseAI/Flowise/releases/tag/flowise@3.1.3Fixvia CVE List
- github.com/FlowiseAI/Flowise/security/advisories/GHSA-3769-jgqc-cxm7Exploitvia CVE List
- github.com/FlowiseAI/Flowise/pull/6306Referencevia CVE List