CVE-2026-92948

9.9

patriksimek · vm2

A sandbox escape vulnerability in vm2 allows authenticated attackers to execute arbitrary code on the host system via the node:test builtin module on Node.js 24 and newer.

Executive summary

A critical sandbox escape vulnerability in the vm2 library permits remote attackers with low privileges to achieve full remote code execution on the host operating system.

Vulnerability

This flaw involves a failure in the sandbox protection mechanism where the node:test builtin module is incorrectly exposed to the sandbox. An authenticated attacker can leverage this to spawn an unrestricted host process, leading to arbitrary JavaScript execution outside the intended sandbox environment.

Business impact

The vulnerability carries a CVSS score of 9.9, reflecting its potential for a complete compromise of the host system. Successful exploitation allows an attacker to bypass all sandbox restrictions, leading to unauthorized data access, complete system takeover, and potential lateral movement within the network. Given the critical nature of this flaw, immediate remediation is required to prevent catastrophic security failures.

Remediation

Immediate Action: Update the patriksimek vm2 library to version 3.11.7 or later to implement the necessary fix for the sandbox bypass.

Proactive Monitoring: Monitor server logs for unusual process spawning or unexpected child process execution, particularly involving the node:test module.

Compensating Controls: If immediate patching is not feasible, restrict the use of the node:test builtin within the NodeVM configuration or disable the library in environments where untrusted code execution is required.

Exploitation status

Public Exploit Available: No

Analyst recommendation

The severity of this vulnerability cannot be overstated, as it represents a total failure of the primary security feature of the vm2 product. Administrators must prioritize updating to version 3.11.7 immediately to close this critical gap. Failure to act leaves the host infrastructure vulnerable to complete compromise by any user capable of executing code within the sandbox.

More patriksimek CVEs all →

History

  1. Disclosed CVE record published
  2. Collected by CVE Brief via github
  3. Analyst report written
  4. Published in the daily brief critical section

Sources

Originally found and disclosed by the-vibe-dev, per the CVE Program record.