Skip to content
CriticalVulnerability

GHSA-3769-jgqc-cxm7: Flowise: RCE via NodeVM Sandbox Escape in executeJavaScriptCode() nodeVMOptions Override

Published
Record updated
View JSON
Affected
  • flowise-components <= 3.1.2
  • flowise <= 3.1.2
Fixed in
3.1.3
  • flowise-components 3.1.3 released June 25, 2026, 40 days before disclosure
  • flowise 3.1.3 released June 25, 2026, 40 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.7%

Summary

Flowise's executeJavaScriptCode() function merges caller-supplied nodeVMOptions into its NodeVM sandbox defaults using the JavaScript spread operator, so caller values override the secure settings. An authenticated user can set require.builtin to ["*"] and re-enable child_process and fs, running arbitrary system commands as root on the Flowise server. The flaw is reached through the route in packages/server/src/routes/node-custom-functions/index.ts and the executeCustomNodeFunction() service in packages/server/src/utils/executeCustomNodeFunction.ts.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.