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.
Severity (CVSS)
| Base score | 9.4 |
|---|---|
| Severity | Critical |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H |
| Provided by | CNA |
Weaknesses
- CWE-94 — CWE-94: Improper Control of Generation of Code ('Code Injection')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| FlowiseAI | Flowise | < 3.1.3 |
References
- https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-3769-jgqc-cxm7 (x_refsource_CONFIRM)
- https://github.com/FlowiseAI/Flowise/pull/6306 (x_refsource_MISC)
- https://github.com/FlowiseAI/Flowise/commit/3086cb7e323bb96c5a581d3232ef975b0d92183d (x_refsource_MISC)
- https://github.com/FlowiseAI/Flowise/releases/tag/flowise@3.1.3 (x_refsource_MISC)
Generated from the official CVE List on 05 Aug 2026 07:03 UTC.