All vulnerabilities

Servers and applications

CVE-2026-69254

RCE via NodeVM Sandbox Escape in executeJavaScriptCode() nodeVMOptions Override

Severity
Critical 9.4
Published
29 Jul 2026
Last changed
23 Oct 2026
Added to UpHeron
1 Nov 2026
Fixed in
3.1.3
Exploit chance
0.7% in the next 30 daysHigher than 53% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Code injection (CWE-94)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Also known as
GHSA-3769-jgqc-cxm7
Sources
NVD, Project advisories (GitHub)

Description

A sandbox escape vulnerability in executeJavaScriptCode() allows any authenticated user to execute arbitrary system commands as root on the Flowise server. The function accepts caller-provided nodeVMOptions that override the default sandbox security settings via JavaScript's spread operator, allowing an attacker to re-enable blocked modules like child_process and fs.

The vulnerability is in packages/components/src/utils.ts at line 1755:

The spread operator allows any caller to override require.builtin with ["*"], which permits all Node.js built-in modules including child_process.

packages/server/src/routes/node-custom-functions/index.ts (line 8)

executeCustomFunction() passes req.body to service — packages/server/src/controllers/nodes/index.ts (line 90)

executeCustomNodeFunction() loads the customFunction node and calls init() with user-provided javascriptFunction — packages/server/src/utils/executeCustomNodeFunction.ts (line 49)

From FlowiseAI/Flowise's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
FlowiseServers and applications · cpe:a:flowiseai:flowise
  • Every version before 3.1.3
FlowiseServers and applications · github:flowiseai/flowise
  • Every version before 3.1.3

About Flowise

Build AI Agents, Visually

From its GitHub repository.
Archived
Yes, no longer maintainedGitHub
Weekly downloads (npm)
6,604npm, 15 Nov 2026
Docker Hub pulls
7,390,661Docker Hub, 15 Nov 2026
GitHub stars
55,573GitHub, 15 Nov 2026
Forks
25,094GitHub, 15 Nov 2026
Latest release
[email protected]GitHub, 15 Nov 2026
Released
29 Jul 2026GitHub
First published on GitHub
31 Mar 2023GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-69254
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-69254
  • GitHub Advisory Database https://github.com/advisories/GHSA-3769-jgqc-cxm7
  • github.com https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-3769-jgqc-cxm7