All vulnerabilities

Servers and applications

CVE-2026-46442

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

Severity
Critical 9.4
Published
14 May 2026
Last changed
23 Jul 2026
Added to UpHeron
1 Nov 2026
Fixed in
3.1.2
Exploit chance
33% in the next 30 daysHigher than 98% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Code injection (CWE-94)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS 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
Also known as
GHSA-9rvc-vf7m-pgm2
Sources
NVD, Project advisories (GitHub)

Description

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. CVSS v3.1: AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H = 9.9 Critical.

Two distinct security boundaries are violated.

packages/server/src/routes/node-custom-functions/index.ts registers the endpoint with no permission middleware:

Other sensitive routes in the same codebase use explicit permission gates:

Global /api/v1 authentication still applies, so this is not unauthenticated — but any valid session or API key reaches the endpoint without further restriction.

From FlowiseAI/Flowise's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
FlowiseServers and applications · cpe:a:flowiseai:flowise
  • Every version before 3.1.2
FlowiseServers and applications · github:flowiseai/flowise
  • Every version before 3.1.2

About Flowise

Build AI Agents, Visually

From its GitHub repository.
Archived
Yes, no longer maintainedGitHub
Weekly downloads (npm)
6,604npm, 15 Nov 2026
Docker Hub pulls
7,390,661Docker Hub, 15 Nov 2026
GitHub stars
55,573GitHub, 15 Nov 2026
Forks
25,094GitHub, 15 Nov 2026
Latest release
[email protected]GitHub, 15 Nov 2026
Released
29 Jul 2026GitHub
First published on GitHub
31 Mar 2023GitHub

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2026-46442
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-46442
  • GitHub Advisory Database https://github.com/advisories/GHSA-9rvc-vf7m-pgm2
  • github.com https://github.com/FlowiseAI/Flowise/security/advisories/GHSA-9rvc-vf7m-pgm2