CVE-2026-92950: vm2 before 3.11.7 Sandbox Escape via CLI require

Published Sep 17, 2026
·
Updated

vm2 before 3.11.7 contains a sandbox escape vulnerability in the CLI tool that allows attackers to execute arbitrary code in the host Node.js process. Attackers can supply a malicious script file to the vm2 CLI that uses require(filename) to re-execute itself in the host realm, bypassing sandbox isolation and accessing host modules like fs and childprocess.

Affected Software

1 affected component
npm/vm2<3.11.7

Event History

Sep 17, 2026
CVE Published
via MITRE·01:46 PM
Data Sourced
via MITRE·01:46 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Users of the vm2 CLI with versions before 3.11.7 are exposed when they execute an attacker-supplied script file. The issue affects the CLI execution path rather than being described as a general sandbox escape for all vm2 usage.

2

What must an attacker do to exploit it?

The attacker must cause a malicious script file to be supplied to and executed by the vm2 CLI. The script uses require(__filename) to re-execute in the host Node.js realm, where it can access host modules including fs and child_process.

3

What is the impact after successful exploitation?

Successful exploitation permits arbitrary code execution in the host Node.js process. This bypasses the intended sandbox isolation and can expose confidentiality, integrity, and availability of the host environment.

4

What version remediates the issue?

Update vm2 to version 3.11.7 or later. Versions before 3.11.7 are affected.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203