Patchfirst
CVE-2026-46442 Public exploit Critical · 9.4 EPSS 33.0%

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

Fix:upgrade flowise to 3.1.3 or later also fixes CVE-2024-31621, CVE-2024-36420, +11 Details ↓

FlowiseAI · Flowise

Summary

Flowise, a drag-and-drop interface for building customized large language model flows, contains a flaw in its POST /api/v1/node-custom-function endpoint, which lacks route-level authorization and accepts arbitrary JavaScript for the Custom JS Function node. An attacker with network access and any valid authenticated account or API key can submit code that, when E2B_APIKEY is not configured, runs in a NodeVM sandbox that can be escaped to execute system commands on the Flowise server host.

Official description · CVE.org

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.

Breakdown
73.6 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 39 days after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidence+39 days

Affected versions and fixes

as published in the CVE record

FlowiseAI Flowise

Affected: < 3.1.2

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

1 package in 1 ecosystem. Main package: flowise.

Upgrade to 3.1.3 or later

Fixes this CVE and 13 other known vulnerabilities in this package (CVE-2024-31621, CVE-2024-36420, +11).

npmnpm install flowise@3.1.3

First fixed in 3.1.2 for CVE-2026-46442.

Affected versions

If you runUpgrade to
All versions before 3.1.23.1.3first fix for this CVE: 3.1.2

“Up to” means the second version is the fix and is not affected.

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 10 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

2 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close