CVE-2026-24781
Modified Modified - Updated After Analysis

Sandbox Breakout in vm2 via Inspect Function

Vulnerability report for CVE-2026-24781, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-05-04

Last updated on: 2026-06-30

Assigner: GitHub, Inc.

Description

vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.0, VM2 suffers from a sandbox breakout vulnerability through the inspect function. This allows attackers to write code which can escape from the VM2 sandbox and execute arbitrary commands on the host system. This issue has been patched in version 3.11.0.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-05-04
Last Modified
2026-06-30
Generated
2026-07-06
AI Q&A
2026-05-05
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
vm2_project vm2 to 3.11.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
CWE-693 The product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product.
CWE-653 The product does not properly compartmentalize or isolate functionality, processes, or resources that require different privilege levels, rights, or permissions.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The vulnerability exists in vm2, an open source virtual machine and sandbox for Node.js. Prior to version 3.11.0, there is a sandbox breakout vulnerability through the inspect function. This means that attackers can write code that escapes the vm2 sandbox environment and execute arbitrary commands on the host system.

Mitigation Strategies

To mitigate this vulnerability, you should upgrade vm2 to version 3.11.0 or later, where the sandbox breakout issue through the inspect function has been patched.

Impact Analysis

This vulnerability can have severe impacts because it allows attackers to break out of the sandbox and run arbitrary commands on the host system. This can lead to full system compromise, unauthorized access to sensitive data, disruption of services, and potentially complete control over the affected system.

Compliance Impact

The vulnerability in vm2 allows attackers to escape the sandbox and execute arbitrary commands on the host system, which can lead to unauthorized access and control over sensitive data.

Such unauthorized access and potential data breaches could negatively impact compliance with standards and regulations like GDPR and HIPAA, which require strict controls to protect sensitive personal and health information.

However, specific impacts on compliance depend on the context in which vm2 is used and the nature of the data processed.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-24781. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart