GHSA-9gvv-qjj3-2p6g: Npm/flowise-components vulnerability

Published Oct 7, 2026
·
Updated

Flowise (packages flowise and flowise-components) in versions <= 3.1.2 contain a sandbox escape in the vm2/@flowiseai/nodevm JavaScript sandbox. An authenticated user with access to the /api/v1/node-custom-function endpoint can escape the sandbox by supplying attacker-controlled executablePath and args parameters to puppeteer.launch(), which internally invokes childprocess.spawn() outside the sandbox boundary. This allows execution of arbitrary OS commands as the Flowise process user (root in the official Docker image) and arbitrary host file disclosure via Chromium's file:// URL handling. In versions 3.0.8–3.1.2 exploitation requires ALLOWBUILTINDEP=true; earlier versions are exploitable by default. Fixed in 3.1.3.

Affected Software

2 affected componentsFixes available
npm/flowise-components<=3.1.2
3.1.3
npm/flowise<=3.1.2
3.1.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/flowise-components to a version that resolves this vulnerability.

    Fixed in 3.1.3
  2. Upgrade

    Upgrade npm/flowise to a version that resolves this vulnerability.

    Fixed in 3.1.3
  3. Upgrade

    Upgrade Flowise to a version that resolves this vulnerability.

    Fixed in 3.1.3

Event History

Oct 7, 2026
Advisory Published
via GitHub·04:17 PM
Data Sourced
via GitHub·04:17 PM
DescriptionAffected Software

Frequently Asked Questions

1

Who can exploit this issue?

An authenticated user who can access the /api/v1/node-custom-function endpoint can exploit it. Successful exploitation allows commands to run as the Flowise process user, which is root in the official Docker image.

2

Are default deployments affected?

Versions earlier than 3.0.8 are exploitable by default. In versions 3.0.8 through 3.1.2, exploitation additionally requires ALLOW_BUILTIN_DEP=true.

3

What can an attacker do after exploiting the sandbox escape?

An attacker can execute arbitrary operating-system commands as the Flowise process user. They can also disclose arbitrary host files through Chromium file:// URL handling.

4

What is the available fix?

Upgrade both flowise and flowise-components to version 3.1.3 or later. Versions up to and including 3.1.2 are affected.

5

What can be done if upgrading is not immediately possible?

For versions 3.0.8 through 3.1.2, ensure ALLOW_BUILTIN_DEP is not set to true. Restrict access to the /api/v1/node-custom-function endpoint to prevent authenticated users from reaching the vulnerable functionality.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203