CVE-2026-46442 Flowise: Authenticated Host RCE via POST /api/v1/node-custom-function and NodeVM Sandbox Escape

Critical 9.4 Published Updated

Authenticated attackers can execute arbitrary system commands on the host by submitting malicious JavaScript to the custom function endpoint, bypassing the NodeVM sandbox.

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-46442?

CVE-2026-46442 is a critical code injection vulnerability in Flowiseai Flowise, published on 8 Jun 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 version 3.1.2, POST /api/v1/node-custom-function lacks route-level authorization, allowing any authenticated user or API key to submit arbitrary JavaScript to the Custom JS Function node. When E2B_APIKEY is not configured — the common deployment case — Flowise executes this code inside a NodeVM sandbox. This sandbox can be escaped, allowing an attacker to reach the host process object and execute system commands via child_process. The result is authenticated remote code execution on the Flowise server host. This issue has been patched in version 3.1.2.

Weakness: CWE-94

Which versions are affected by CVE-2026-46442?

2 open source packages ship an affected version, including flowise. It affects 1 product.

PackageAffectedFixed in
flowise npmAll versions3.1.2
flowise npmAll versions3.1.2

Products include Flowiseai Flowise.

How do I fix CVE-2026-46442?

Upgrade flowise to 3.1.2 or later.

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

Is CVE-2026-46442 being exploited?

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

Public exploit code: 1 Nuclei template and 1 proofs of concept on GitHub.

All Flowiseai Flowise vulnerabilities

Sources

Also known as GHSA-9rvc-vf7m-pgm2.

Is CVE-2026-46442 in your software?

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

Check your SBOMs for free