REDHAT-BUG-2477205: High severity vm2 vulnerability

Published May 13, 2026
·
Updated

vm2 is an open source vm/sandbox for Node.js. From 3.9.6 to 3.10.5, vm2's bridge exposes mutable proxies for real host-realm intrinsic prototypes and then forwards sandbox writes into the underlying host objects with otherReflectSet() and otherReflectDefineProperty(), which lets attacker-controlled JavaScript running in a default VM or inherited NodeVM mutate shared host Object.prototype, Array.prototype, and Function.prototype from inside the sandbox This vulnerability is fixed in 3.11.0.

Affected Software

1 affected component
vm2>=3.9.6<=3.10.5

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

Event History

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

Frequently Asked Questions

1

Which deployments are exposed to this issue?

Applications using vm2 versions 3.9.6 through 3.10.5 are affected when they execute attacker-controlled JavaScript in a default VM or inherited NodeVM. The issue can modify shared host-realm Object.prototype, Array.prototype, and Function.prototype.

2

What does an attacker need to exploit it?

An attacker needs the ability to run JavaScript inside the affected vm2 sandbox. The description states that this can occur in a default VM or inherited NodeVM configuration.

3

Is a non-default configuration required for exploitation?

No. The issue affects attacker-controlled JavaScript running in a default VM, as well as an inherited NodeVM.

4

What version fixes the vulnerability?

vm2 version 3.11.0 fixes this vulnerability. Versions from 3.9.6 through 3.10.5 are identified as 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