The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-45411

CVE-2026-45411: vm2 Node.js Sandbox RCE Vulnerability

CVE-2026-45411 is a remote code execution flaw in vm2, a Node.js sandbox library, that allows attackers to escape the sandbox and execute arbitrary commands. This article covers technical details, affected versions, and mitigations.

Published: May 14, 2026

CVE-2026-45411 Overview

CVE-2026-45411 is a sandbox escape vulnerability in vm2, an open source virtual machine and sandbox library for Node.js. Versions prior to 3.11.3 improperly handle host exceptions thrown inside async generators. Attackers can use the yield* expression to catch a host exception and execute arbitrary commands on the host system. The vulnerability falls under [CWE-668] Exposure of Resource to Wrong Sphere and breaks the core security boundary that vm2 is designed to enforce.

Critical Impact

Successful exploitation allows attackers to escape the vm2 sandbox and execute arbitrary code on the host with the privileges of the Node.js process.

Affected Products

  • vm2 (npm package) versions prior to 3.11.3
  • Node.js applications that execute untrusted code inside vm2 sandboxes
  • Server-side platforms relying on vm2 for code isolation

Discovery Timeline

  • 2026-05-13 - CVE-2026-45411 published to NVD
  • 2026-05-13 - Last updated in NVD database

Technical Details for CVE-2026-45411

Vulnerability Analysis

The vm2 library isolates untrusted JavaScript code by wrapping host objects with proxies and intercepting cross-boundary operations. The sandbox depends on preventing untrusted code from obtaining direct references to host objects or unhandled host exceptions.

In versions prior to 3.11.3, the runtime exposes a host-side exception object to sandboxed code through the async generator return path. Once the sandbox holds a reference to a host object, it can walk the prototype chain to reach the host Function constructor and call arbitrary host code. The result is a full sandbox escape from network-reachable, unauthenticated attacker-controlled input.

Root Cause

The flaw stems from how vm2 handles closure of an async generator that contains a yield* expression. When the generator is closed using its return function, the yielded value is awaited. If the awaited then call throws, the runtime catches the exception and passes it back to the yield* iterator as the next value. The exception object originates from the host realm and is delivered to sandboxed code without being wrapped or sanitized, breaking realm isolation.

Attack Vector

An attacker supplies JavaScript that runs inside a vm2 sandbox. The payload defines an async generator using yield* against an iterator whose then method throws. Closing the generator triggers the unsanitized delivery of the host exception. The attacker reads properties from that host object to reach the host Function constructor and invoke child_process.exec or equivalent APIs. No authentication or user interaction is required when sandboxed code execution is exposed over a network service.

No verified public proof-of-concept code is included in this advisory. Refer to the GitHub Security Advisory GHSA-248r-7h7q-cr24 for the upstream technical description.

Detection Methods for CVE-2026-45411

Indicators of Compromise

  • Node.js processes spawning unexpected child processes such as /bin/sh, bash, cmd.exe, or powershell.exe shortly after evaluating sandboxed input
  • Outbound network connections from a Node.js host to attacker infrastructure following sandbox execution
  • Unexpected file writes by the Node.js process outside its working directory

Detection Strategies

  • Inventory all applications using the vm2 npm package and flag versions earlier than 3.11.3 through software composition analysis
  • Monitor for sandboxed code that combines async function*, yield*, and custom thenable objects, which matches the exploit pattern
  • Alert on Node.js parent processes spawning shells or interpreters, which is anomalous for most sandbox workloads

Monitoring Recommendations

  • Collect process creation telemetry from Node.js hosts and forward to a SIEM for correlation against sandbox execution events
  • Enable Node.js audit logging or --inspect instrumentation in development to capture suspicious VM evaluations
  • Track egress traffic from servers running vm2 workloads and baseline normal destinations

How to Mitigate CVE-2026-45411

Immediate Actions Required

  • Upgrade the vm2 dependency to version 3.11.3 or later across all production, staging, and development environments
  • Audit code paths that pass untrusted input to vm2 and disable or gate them until the upgrade is verified
  • Rotate secrets accessible to any host that ran a vulnerable vm2 build exposed to untrusted input

Patch Information

The maintainers fixed the issue in vm2 version 3.11.3. The patch corrects exception handling for async generators so host exceptions thrown from the then call are no longer passed unsanitized to the yield* iterator. See the GitHub Security Advisory GHSA-248r-7h7q-cr24 for full advisory details.

Workarounds

  • Migrate to a maintained sandbox alternative such as isolated-vm, which uses V8 isolates for stronger separation
  • Run Node.js processes that execute untrusted code inside containers or microVMs with seccomp, AppArmor, or gVisor restrictions
  • Drop process privileges, restrict filesystem access, and block outbound network access for sandbox host processes
bash
# Configuration example
npm install vm2@^3.11.3
npm ls vm2

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechVm2

  • SeverityCRITICAL

  • CVSS Score9.8

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-668
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-44009: vm2 Node.js Sandbox RCE Vulnerability

  • CVE-2026-44008: vm2 Node.js Sandbox RCE Vulnerability

  • CVE-2026-24118: vm2 Node.js Sandbox Breakout RCE Flaw

  • CVE-2026-26956: vm2 Sandbox Escape RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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