CVE-2026-24781
Received Received - Intake
Sandbox Breakout in vm2 via Inspect Function

Publication date: 2026-05-04

Last updated on: 2026-05-04

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-05-04
Generated
2026-05-07
AI Q&A
2026-05-05
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
vm2 vm2 to 3.11.0 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-693 The product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product.
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.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

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.


What immediate steps should I take to mitigate this vulnerability?

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.


How can this vulnerability impact me? :

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.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

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.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart