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

CVE-2026-44002: Vm2 Information Disclosure Vulnerability

CVE-2026-44002 is an information disclosure vulnerability in Vm2 that allows sandboxed code to extract host server paths and directory structures. This article covers the technical details, affected versions, and mitigation.

Published: May 17, 2026

CVE-2026-44002 Overview

CVE-2026-44002 is an information disclosure vulnerability in vm2, an open source virtual machine and sandbox library for Node.js. The flaw exists in vm2's CallSite wrapper class, which was designed as a safe wrapper around V8's native CallSite API. While the wrapper blocks getThis() and getFunction() to prevent host object leakage, it allows getFileName() to return unsanitized host absolute paths. Sandboxed code can extract the full host directory structure, library paths, and framework versions. The issue affects versions prior to 3.11.0 and is classified under [CWE-209] Information Exposure Through an Error Message.

Critical Impact

Untrusted code running inside the vm2 sandbox can enumerate host filesystem paths, library locations, and framework versions, enabling reconnaissance for follow-on attacks.

Affected Products

  • vm2 (npm package vm2) versions prior to 3.11.0
  • Node.js applications embedding vm2 for sandboxed code execution
  • Multi-tenant platforms using vm2 to isolate user-supplied JavaScript

Discovery Timeline

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

Technical Details for CVE-2026-44002

Vulnerability Analysis

The vm2 library provides a sandboxed execution environment for untrusted JavaScript within Node.js processes. It wraps several V8 internals to prevent sandboxed code from accessing host objects. The CallSite wrapper is one such control, exposing stack frame metadata to sandboxed code while filtering methods that would return host references.

The wrapper correctly blocks getThis() and getFunction(), which would return host-side values. However, getFileName() passes through unsanitized. When sandboxed code triggers an error and inspects the stack via Error.prepareStackTrace, each frame's getFileName() returns the absolute path on the host filesystem. This reveals installation directories, node_modules paths, and module versions embedded in directory names.

The disclosure is purely informational and does not break the sandbox boundary directly. However, the leaked paths support follow-on exploitation by mapping installed libraries to known vulnerabilities.

Root Cause

The CallSite wrapper applies an allowlist-style mediation for some methods but lets getFileName() return the raw V8 value. The wrapper does not redact, hash, or relativize the host path before returning it to sandboxed code. This is an incomplete sanitization of error and stack metadata, characteristic of [CWE-209].

Attack Vector

An attacker submits JavaScript to a service that evaluates code inside vm2. The code installs a custom Error.prepareStackTrace handler, throws an error, and iterates over the resulting CallSite objects. Calling getFileName() on each frame returns absolute host paths. The attacker exfiltrates these paths through the sandbox's normal return channel, achieving reconnaissance without breaking out of the sandbox.

A verified proof-of-concept is described in the GitHub Security Advisory GHSA-v27g-jcqj-v8rw. No public exploit is listed in Exploit-DB, and the CVE is not on the CISA KEV list.

Detection Methods for CVE-2026-44002

Indicators of Compromise

  • Sandboxed scripts that define Error.prepareStackTrace and immediately throw or capture stacks
  • Outbound responses from sandbox endpoints containing absolute filesystem paths such as /home/, /var/, or C:\Users\
  • Repeated sandbox executions from a single tenant that enumerate stack frames across diverse error scenarios

Detection Strategies

  • Inventory all Node.js services using the vm2 package and identify versions below 3.11.0
  • Inspect sandbox output streams for absolute path patterns and node_modules references
  • Add static analysis rules that flag user-supplied JavaScript containing Error.prepareStackTrace or getFileName references

Monitoring Recommendations

  • Log all vm2 evaluation calls with tenant identity, payload hash, and response size for anomaly analysis
  • Alert on sandbox responses whose content matches host path regex patterns
  • Correlate sandbox reconnaissance activity with subsequent exploitation attempts against disclosed library versions

How to Mitigate CVE-2026-44002

Immediate Actions Required

  • Upgrade vm2 to version 3.11.0 or later in all Node.js applications
  • Audit application dependencies with npm ls vm2 to locate transitive instances of the package
  • Rotate any secrets or credentials whose locations may have been disclosed through leaked paths

Patch Information

The issue is fixed in vm2 version 3.11.0. The maintainers updated the CallSite wrapper to sanitize getFileName() output. Refer to the vm2 GitHub Security Advisory for advisory details. Note that the vm2 project has been deprecated by its maintainers; teams should plan migration to actively maintained alternatives such as isolated-vm.

Workarounds

  • Run vm2 evaluations inside a chroot or container with anonymized mount paths to limit path information value
  • Strip or rewrite absolute path strings from sandbox responses before returning them to untrusted callers
  • Migrate workloads from vm2 to a maintained sandbox library where feasible
bash
# Configuration example
npm install vm2@3.11.0
npm ls vm2

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechVm2

  • SeverityMEDIUM

  • CVSS Score5.8

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-209
  • 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