CVE-2026-69254 Flowise: RCE via NodeVM Sandbox Escape in executeJavaScriptCode() nodeVMOptions Override

Critical 9.4 Published Updated

An authenticated attacker can escape the NodeVM sandbox in Flowise to execute arbitrary system commands as root by overriding security options.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-69254?

CVE-2026-69254 is a critical code injection vulnerability in Flowiseai Flowise, published on 4 Aug 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-94

Which versions are affected by CVE-2026-69254?

4 open source packages ship an affected version, including flowise and flowise-components. It affects 1 product.

PackageAffectedFixed in
flowise npmAll versions3.1.3
flowise npmAll versions3.1.3
flowise-components npmAll versions3.1.3
flowise-components npmAll versions3.1.3

Products include Flowiseai Flowise.

How do I fix CVE-2026-69254?

Upgrade flowise to 3.1.3 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-69254 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-69254 exists.

Public exploit code: 1 proofs of concept on GitHub.

All Flowiseai Flowise vulnerabilities

Sources

Also known as GHSA-3769-jgqc-cxm7.

Is CVE-2026-69254 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free