CVE-2026-92934: vm2 before 3.11.8 Sandbox Escape RCE via AggregateError

Published Sep 17, 2026
·
Updated

vm2 before 3.11.8 contains an incomplete fix for Error.cause sanitization that allows sandbox escape when revisited host-wrapped AggregateError objects are caught within a single exception handler traversal. Attackers can exploit cycle detection bypass in handleException to access unsanitized host proxies embedded in the errors array, enabling full remote code execution and process information disclosure from the sandbox.

Affected Software

1 affected component
npm/vm2<3.11.8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade vm2 to a version that resolves this vulnerability.

    Fixed in 3.11.8
  2. Compensating control

    Harden the environment to reduce impact of sandbox escape by isolating the Node.js runtime/container and restricting egress/ingress so that any potential RCE has limited access.

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?

Applications using npm/vm2 before 3.11.8 to run untrusted code in a sandbox are exposed. Successful exploitation can escape the sandbox, execute code in the host process, and disclose process information.

2

What does an attacker need to exploit it?

An attacker needs the ability to execute crafted code within the vm2 sandbox. The issue does not require authentication or user interaction, but exploitation has high attack complexity and depends on triggering the affected exception-handling path with host-wrapped AggregateError objects.

3

Are default vm2 deployments affected?

The available information identifies all vm2 versions before 3.11.8 as affected, but does not state whether a particular default application configuration reaches the vulnerable path. Exposure depends on whether untrusted sandboxed code can trigger the relevant exception handling.

4

How can I determine whether my application is affected?

Check whether the application depends on npm/vm2 and whether the resolved version is earlier than 3.11.8. Prioritize systems that accept or execute attacker-controlled code through vm2, especially where sandbox exceptions may be handled by the host application.

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