REDHAT-BUG-2477198: High severity vm2 vm2 vulnerability

Published May 13, 2026
·
Updated

vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.1, when a NodeVM is created with nesting: true, sandbox code can unconditionally require('vm2') regardless of the outer VM's require configuration — including require: false. With access to vm2, the sandbox constructs a new inner NodeVM with its own unrestricted require settings and executes arbitrary OS commands on the host. Any application that runs untrusted code inside a NodeVM with nesting: true is fully compromised. This vulnerability is fixed in 3.11.1.

Affected Software

1 affected component
vm2 vm2<3.11.1

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.1

Event History

May 13, 2026
Data Sourced
via Red Hat·06:02 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2477198?

The severity of REDHAT-BUG-2477198 is rated high with a score of 7.

2

How do I fix REDHAT-BUG-2477198?

To fix REDHAT-BUG-2477198, upgrade to version 3.11.1 or later of the vm2 package.

3

What are the consequences of exploiting REDHAT-BUG-2477198?

Exploiting REDHAT-BUG-2477198 allows sandboxed code to unconditionally require the vm2 module, potentially compromising the outer VM's security.

4

Is REDHAT-BUG-2477198 present in all versions of vm2?

REDHAT-BUG-2477198 is present in all versions of vm2 prior to 3.11.1.

5

What is vm2 in the context of REDHAT-BUG-2477198?

vm2 is an open source virtual machine and sandbox for Node.js that is affected by the vulnerability in REDHAT-BUG-2477198.

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