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-44007

CVE-2026-44007: Vm2_project Vm2 RCE Vulnerability

CVE-2026-44007 is a remote code execution flaw in Vm2_project Vm2 that allows sandboxed code to execute arbitrary OS commands when nesting is enabled. This article covers technical details, affected versions, and patches.

Published: May 17, 2026

CVE-2026-44007 Overview

CVE-2026-44007 is a sandbox escape vulnerability in vm2, an open source virtual machine and sandbox library for Node.js. Versions prior to 3.11.1 allow sandboxed code to call require('vm2') when the outer NodeVM is created with nesting: true, even when the host application explicitly sets require: false. Sandboxed code can then construct a new inner NodeVM with unrestricted require settings and execute arbitrary operating system commands on the host. Any application running untrusted code inside a NodeVM with nesting enabled is fully compromised. The issue is fixed in vm2 version 3.11.1.

Critical Impact

Sandboxed code escapes the vm2 boundary and executes arbitrary OS commands on the host with the privileges of the Node.js process.

Affected Products

  • vm2 (npm package vm2_project:vm2) prior to 3.11.1
  • Node.js applications that instantiate NodeVM with nesting: true
  • Downstream services and platforms that embed vm2 to execute untrusted JavaScript

Discovery Timeline

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

Technical Details for CVE-2026-44007

Vulnerability Analysis

The vm2 library provides a Node.js sandbox intended to run untrusted JavaScript with controlled access to host capabilities such as require. Host applications typically pass require: false to deny module loading inside the sandbox. When nesting: true is also set, the sandbox is permitted to instantiate further NodeVM instances. The flaw is that the nested-VM feature exposes the vm2 module itself to sandboxed code regardless of the outer require policy. Untrusted code can therefore obtain a reference to the NodeVM constructor, instantiate a fresh sandbox configured with require: true and unrestricted built-ins, and load child_process to execute commands. This is a broken access control issue tracked as [CWE-284].

Root Cause

The nesting: true code path inside vm2 did not honor the outer sandbox's require configuration when exposing the vm2 module to nested contexts. The access-control check that should have prevented the sandbox from resolving vm2 was effectively bypassed, allowing the guest to bootstrap a more privileged inner VM.

Attack Vector

An attacker who can supply JavaScript to an application that evaluates it inside a NodeVM with nesting: true writes a payload that calls require('vm2'), constructs a new NodeVM with require: true and no allowlist, then loads child_process and invokes exec or execSync. The resulting command runs with the privileges of the host Node.js process. The vulnerability requires the host application to opt into nesting, which is why the attack requires high privileges on the application configuration but no user interaction once that configuration exists. The vm2 maintainers' GitHub Security Advisory GHSA-8hg8-63c5-gwmx and the OpenWall OSS-Security discussion describe the escape mechanism in detail.

Detection Methods for CVE-2026-44007

Indicators of Compromise

  • Node.js processes spawning unexpected child processes such as /bin/sh, bash, cmd.exe, or powershell.exe from applications that embed vm2.
  • Outbound network connections initiated by a Node.js worker that previously only handled user-supplied scripts.
  • File system writes or reads outside the application's working directory by the Node.js process hosting vm2.

Detection Strategies

  • Inventory all Node.js applications and identify those that declare vm2 in package.json or package-lock.json at versions below 3.11.1.
  • Search application source for new NodeVM( invocations that include nesting: true and treat each as a high-risk sink for untrusted input.
  • Alert on process lineage where node is the parent of a shell or scripting interpreter that was not part of normal application behavior.

Monitoring Recommendations

  • Enable process creation auditing on hosts running vm2-based services and forward events to a centralized log store for correlation.
  • Monitor egress traffic from sandboxing services and baseline expected destinations to surface command-and-control activity following an escape.
  • Track changes to node_modules/vm2 package versions across build and production environments to detect downgrades or unpatched deployments.

How to Mitigate CVE-2026-44007

Immediate Actions Required

  • Upgrade vm2 to version 3.11.1 or later across all applications and rebuild container images that bundle the package.
  • Audit code paths that instantiate NodeVM and remove nesting: true unless the feature is strictly required.
  • Treat any historical execution of untrusted scripts inside a vulnerable vm2 configuration as a potential compromise and review host telemetry accordingly.

Patch Information

The vm2 maintainers released a fix in version 3.11.1. Refer to the GitHub Security Advisory GHSA-8hg8-63c5-gwmx for the patch reference and upgrade guidance. Note that the upstream vm2 project has announced it is no longer maintained for security; teams should plan migration to an actively maintained isolation mechanism such as isolated-vm or out-of-process sandboxing.

Workarounds

  • Set nesting: false on every NodeVM instance, which is the default and blocks the documented escape path.
  • Run the Node.js process that hosts vm2 under a dedicated low-privilege user with no write access to application directories.
  • Confine the sandboxing service in a container with seccomp, AppArmor, or SELinux profiles that deny execve of shells and restrict outbound network access.
bash
# Upgrade vm2 to the patched release
npm install vm2@3.11.1 --save
npm audit --production

# Verify no remaining vulnerable versions in the dependency tree
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.1

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-284
  • Technical References
  • OpenWall OSS Security Discussion
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-44005: Vm2 Sandbox RCE Vulnerability

  • CVE-2026-43999: Vm2_project Vm2 RCE Vulnerability

  • CVE-2026-43997: Vm2_project Vm2 RCE Vulnerability

  • CVE-2026-43998: Vm2_project Vm2 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