Sandbox Breakout Vulnerability in vm2 for Node.js by Patrik Simek
CVE-2026-24781

9.8CRITICAL

Key Information:

Status
Vendor
CVE Published:
4 May 2026

What is CVE-2026-24781?

The vm2 library, an open-source sandboxing tool for Node.js, is susceptible to a critical vulnerability prior to version 3.11.0 that enables attackers to exploit the inspect function. By crafting malicious inputs, an attacker could bypass the sandbox restrictions, allowing unauthorized code execution on the host system. This vulnerability has been documented and successfully patched in version 3.11.0, and users are strongly encouraged to upgrade to this version or later to mitigate potential security risks.

Affected Version(s)

vm2 < 3.11.0

References

CVSS V3.1

Score:
9.8
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.