Skip to content
CriticalVulnerabilityLLM-specific

CVE-2026-46442: Flowise remote code execution through /api/v1/node-custom-function endpoint

Identifier
CVE-2026-46442
Published
Record updated
View JSON
Affected
  • flowise <= 3.1.1
Fixed in
3.1.2
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
36.3%

Summary

CVE-2026-46442 affects Flowise before version 3.1.2. The POST /api/v1/node-custom-function endpoint lacks route-level authorization, so any authenticated user or API key can submit arbitrary JavaScript to the Custom JS Function node. When E2B_APIKEY is not configured, that code runs inside a NodeVM sandbox that can be escaped to reach the host process object and run system commands via child_process, giving authenticated remote code execution on the Flowise server host.

Mitigation

This issue has been patched in version 3.1.2.