CVE-2026-47209

vm2 · vm2 (Node.js sandbox)

The vm2 library is susceptible to a sandbox escape due to a flaw in the BaseHandler.set method which incorrectly ignores the receiver parameter.

Executive summary

A critical sandbox escape vulnerability in vm2 allows attackers to escape the sandbox and execute code on the host system.

Vulnerability

This is a sandbox escape caused by an improper implementation of the property setting mechanism. Specifically, the BaseHandler.set method fails to correctly handle the receiver parameter, allowing sandboxed code to manipulate host-side objects and execute arbitrary code.

Business impact

The vulnerability carries a CVSS score of 8.6, indicating a high risk of host-level compromise. Successful exploitation grants an attacker the ability to break out of the sandbox confinement, leading to potential unauthorized access, data exfiltration, or complete host system takeover.

Remediation

Immediate Action: Upgrade to vm2 version 3.11.4 or higher to apply the necessary security fixes for the bridge handler.

Proactive Monitoring: Review application logs for unusual sandbox behavior or attempts to perform unauthorized property modifications within the NodeVM environment.

Compensating Controls: Deploy the application within an isolated environment with minimal privileges to reduce the impact of a potential sandbox escape.

Exploitation status

Public Exploit Available: true

Analyst recommendation

The vulnerability represents a direct threat to the security boundaries provided by vm2. Administrators must prioritize updating to version 3.11.4 to mitigate the risk of host-level compromise and ensure the continued efficacy of their sandboxing strategy.