REDHAT-BUG-2477206: High severity npm/vm2 vulnerability

Published May 13, 2026
·
Updated

vm2 is an open source vm/sandbox for Node.js. In 3.10.5, NodeVM's require.root path restriction can be bypassed using filesystem symlinks, allowing sandboxed code to load modules from outside the allowed root directory in host context. Because path validation uses path.resolve() (which does not dereference symlinks) but module loading uses Node's native require() (which does), an attacker can load arbitrary host-realm modules and achieve remote code execution. This vulnerability is fixed in 3.11.0.

Affected Software

1 affected component
npm/vm2>3.10.5<=3.11.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade vm2/NodeVM to a version that resolves this vulnerability.

    Fixed in 3.11.0

Event History

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

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2477206?

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

2

What vulnerability does REDHAT-BUG-2477206 describe?

REDHAT-BUG-2477206 describes a vulnerability in vm2 that allows path restriction bypass using filesystem symlinks.

3

How can I mitigate the effects of REDHAT-BUG-2477206?

To mitigate REDHAT-BUG-2477206, avoid using filesystem symlinks in NodeVM's require.root path.

4

Which versions of vm2 are affected by REDHAT-BUG-2477206?

REDHAT-BUG-2477206 affects vm2 version 3.10.5.

5

Is an update available for REDHAT-BUG-2477206?

An update to address REDHAT-BUG-2477206 should be created in a future release following its publication.

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