A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-46442

CVE-2026-46442: Flowiseai Flowise RCE Vulnerability

CVE-2026-46442 is a remote code execution flaw in Flowiseai Flowise allowing authenticated attackers to execute arbitrary code via sandbox escape. This article covers technical details, affected versions, and patches.

Published: June 11, 2026

CVE-2026-46442 Overview

Flowise is a drag-and-drop user interface for building customized large language model (LLM) workflows. CVE-2026-46442 is an authenticated remote code execution (RCE) vulnerability affecting Flowise versions prior to 3.1.2. The POST /api/v1/node-custom-function endpoint lacks route-level authorization, permitting any authenticated user or API key holder to submit arbitrary JavaScript to the Custom JS Function node. When E2B_APIKEY is not configured, the code executes inside a NodeVM sandbox that can be escaped to reach the host process object and invoke child_process. The result is authenticated remote code execution on the Flowise server host. The issue is categorized under [CWE-94] (Improper Control of Generation of Code).

Critical Impact

Any authenticated Flowise user or API key holder can execute arbitrary operating system commands on the Flowise server when E2B_APIKEY is unset, which is the default deployment posture.

Affected Products

  • Flowiseai Flowise versions prior to 3.1.2
  • Deployments where E2B_APIKEY is not configured (default)
  • Self-hosted Flowise instances exposing /api/v1/node-custom-function

Discovery Timeline

  • 2026-06-08 - CVE-2026-46442 published to NVD
  • 2026-06-11 - Last updated in NVD database

Technical Details for CVE-2026-46442

Vulnerability Analysis

The vulnerability resides in the POST /api/v1/node-custom-function route handler in Flowise. The route accepts a JavaScript payload intended to be evaluated by the Custom JS Function node within an LLM workflow. The handler does not enforce role- or permission-based authorization, treating any authenticated session or API key as sufficient to submit code for execution.

Flowise routes the supplied JavaScript to a NodeVM sandbox when no E2B sandbox key is set. NodeVM is a userland isolation wrapper, not a security boundary. Researchers have repeatedly demonstrated sandbox escapes that traverse from the sandboxed context back to the parent Node.js process object. Once the host process is reachable, an attacker imports child_process and runs arbitrary system commands under the Flowise service account.

Because the default Flowise deployment does not set E2B_APIKEY, the unsafe NodeVM execution path is the production code path for the majority of installations. The vulnerability provides full host-level command execution chained to a single low-privilege HTTP request.

Root Cause

The root cause is twofold. First, the endpoint omits authorization checks that should restrict code submission to privileged roles. Second, the runtime relies on NodeVM as a security boundary, despite NodeVM not being designed to contain adversarial code. The combination converts a feature intended for trusted workflow authors into an RCE primitive for any authenticated principal.

Attack Vector

The attack vector is network-based and requires only low-privilege authentication. An attacker obtains valid credentials or an API key, submits a crafted JavaScript payload to /api/v1/node-custom-function, and uses a known NodeVM escape technique to access the host process object. The payload then invokes child_process.exec or equivalent to run arbitrary commands. No user interaction is required.

No verified public proof-of-concept code is available. See the GitHub Security Advisory GHSA-9rvc-vf7m-pgm2 for vendor details.

Detection Methods for CVE-2026-46442

Indicators of Compromise

  • HTTP POST requests to /api/v1/node-custom-function originating from non-administrative accounts or unexpected API keys.
  • Child processes such as sh, bash, cmd.exe, powershell.exe, curl, or wget spawned by the Flowise Node.js process.
  • Outbound network connections from the Flowise host to unfamiliar IP addresses shortly after Custom JS Function invocations.
  • Unexpected file writes under the Flowise working directory or temporary directories by the Flowise service account.

Detection Strategies

  • Inspect web server and reverse proxy logs for POST /api/v1/node-custom-function calls and correlate with the authenticating user or API key.
  • Monitor process ancestry on the Flowise host and alert when the node process running Flowise spawns shells or system utilities.
  • Audit Flowise application logs for Custom JS Function executions that reference process, require, child_process, or constructor chains commonly used in NodeVM escapes.

Monitoring Recommendations

  • Enable endpoint detection and response (EDR) coverage on Flowise hosts to capture process creation and command-line telemetry.
  • Forward application, proxy, and host telemetry to a centralized SIEM and build detections for the Custom JS Function endpoint.
  • Alert on any usage of /api/v1/node-custom-function by accounts that are not designated workflow authors.

How to Mitigate CVE-2026-46442

Immediate Actions Required

  • Upgrade Flowise to version 3.1.2 or later, which adds route-level authorization to /api/v1/node-custom-function.
  • Rotate all Flowise API keys and user credentials, especially if the server was internet-exposed prior to patching.
  • Restrict network access to the Flowise management interface so it is reachable only from trusted administrative networks.
  • Review audit logs for prior invocations of the Custom JS Function endpoint and investigate any anomalies on the host.

Patch Information

The vendor released the fix in Flowise 3.1.2. Refer to the Flowise 3.1.2 release notes and the GitHub Security Advisory GHSA-9rvc-vf7m-pgm2 for upgrade guidance.

Workarounds

  • Configure E2B_APIKEY so Custom JS Function code executes inside the hardened E2B sandbox instead of NodeVM.
  • Place Flowise behind an authenticating reverse proxy that blocks POST /api/v1/node-custom-function for non-administrative principals.
  • Run the Flowise process as an unprivileged user inside a container with no outbound internet access to limit post-exploitation impact.
  • Disable or remove API keys that do not require Custom JS Function access.
bash
# Example reverse proxy rule (nginx) blocking the vulnerable route
location = /api/v1/node-custom-function {
    allow 10.0.0.0/24;   # admin subnet
    deny  all;
    proxy_pass http://flowise_upstream;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechFlowise

  • SeverityCRITICAL

  • CVSS Score9.4

  • EPSS Probability0.40%

  • Known ExploitedNo
  • 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
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-94
  • Technical References
  • GitHub Release Notes
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-41268: Flowise RCE Vulnerability

  • CVE-2026-41265: Flowise Airtable Agent RCE Vulnerability

  • CVE-2026-41137: Flowise CSVAgent RCE Vulnerability

  • CVE-2026-41269: Flowise File Upload RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English