ZeroHour

CVE-2026-46442

PoC moderate

Authenticated sandbox-escape remote code execution in Flowise

CVSS 4.0
9.4 critical
EPSS
36%p98
Published
()
Modified
AI analysis

Flowise, an open-source drag-and-drop builder for LLM workflows, lacks route-level authorization on POST /api/v1/node-custom-function in versions before 3.1.2, allowing any authenticated user or API key to submit arbitrary JavaScript to the Custom JS Function node. When the E2B_APIKEY environment variable is not configured — described as the common deployment case — the submitted JavaScript runs in a local NodeVM sandbox, which can be escaped to reach the host process object and execute system commands via child_process. An attacker with any valid credentials or API key therefore gains remote code execution on the Flowise server host under the application's privileges. All self-hosted Flowise deployments prior to 3.1.2 that expose the API to non-administrative users or API keys are affected, especially those without E2B sandboxing enabled. No confirmed in-the-wild exploitation is reported yet (not in CISA KEV), but a public advisory with a proof of concept exists, and EPSS assigns a 36.3% probability of exploitation within 30 days (98th percentile).

What to do: Upgrade to Flowise 3.1.2 or later. As interim mitigations, configure E2B_APIKEY so custom JavaScript runs in the E2B cloud sandbox instead of the local NodeVM, and restrict access to POST /api/v1/node-custom-function and API-key issuance to trusted administrative users. Given the high EPSS score and public proof of concept, prioritize patching internet-exposed instances and audit existing API keys for signs of unauthorized use.

Affected
FlowiseAI Flowiseall versions prior to 3.1.2 (fixed in 3.1.2)
Estimated exposure
moderate≈ thousands of self-hosted instances, likely 1,000–10,000 internet-exposed (estimate) — No install counts or public scan data were provided; the estimate reflects Flowise's popularity as an open-source LLM workflow builder and its typical self-hosted, single-instance deployment pattern, of which only a subset of instances is…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

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.

Vendors
flowiseai
Products
flowise
Weakness
CWE-94
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

In the news

No ingested article mentions this CVE yet.