Critical vm2 Node.js Flaw Allows Sandbox Escape and Arbitrary Code Execution
Source The Hacker News
Not known to be exploited · CVSS 9.8 Critical : upgrade to 3.10.2 as a priority.
Data as of 4 Feb 2026, 09:33 UTC
- Patch
- Available – fixed in 3.10.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 26 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.
What to do
Upgrade vm2 to 3.10.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| patriksimekvm2 | Affected
| Fixed in
|
AI-suggested
- Immediately update all vm2 library instances to version 3.10.3 or later, which includes patches for this and other sandbox escape vulnerabilities.
- Audit all applications and services that use vm2 to identify untrusted code execution points and assess exposure.
- Consider migrating to more secure sandboxing alternatives such as isolated-vm, which uses V8's native Isolate interface for stronger isolation guarantees.
- Implement containerization (e.g., Docker) to provide an additional layer of logical separation between sandboxed code and host systems, limiting potential damage from escapes.
- Enforce strict code review and validation for any third-party or user-generated JavaScript executed within sandboxes.
- Monitor runtime environments for anomalous behavior indicative of sandbox escape attempts or arbitrary code execution.
- Stay informed on vm2 security advisories and emerging sandbox escape vulnerabilities to apply timely updates.
- Where feasible, restrict network and filesystem access for sandboxed environments to minimize attack surface.
- Employ defense-in-depth strategies combining sandboxing, containerization, and host-based security controls to mitigate risks.
- Educate development and DevOps teams about the limitations of vm2 sandboxing and the importance of layered security.
Description
A critical sandbox escape vulnerability has been disclosed in the popular vm2 Node.js library that, if successfully exploited, could allow attackers to run arbitrary code on the underlying operating system. The vulnerability, tracked as CVE-2026-22709, carries a CVSS score of 9.8 out of 10.0 on the CVSS scoring system. "In vm2 for version 3.10.0, Promise.prototype.then Promise.prototype.catch