REDHAT-BUG-2477208: High severity vm2 vulnerability

Published May 13, 2026
·
Updated

vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.0, a sandbox escape vulnerability in vm2 v3.10.5 allows any sandboxed code to crash the host Node.js process via a single Promise constructor that triggers an unhandled rejection propagating to the host. The fix for CVE-2026-22709 (v3.10.2) only sanitized the onRejected callback in .then() and .catch() overrides and did not address the executor-to-unhandledRejection path. This vulnerability is fixed in 3.11.0.

Affected Software

1 affected component
vm2<3.11.0

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
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.11.0Patch CVE-2026-22709

Event History

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

Frequently Asked Questions

1

Which deployments are exposed?

Deployments using vm2 versions before 3.11.0 are affected, including v3.10.5. The issue applies where untrusted or sandboxed code can be executed through vm2.

2

What does an attacker need to exploit this issue?

An attacker needs the ability to run code inside the vm2 sandbox. A single Promise constructor can trigger an unhandled rejection that propagates to the host Node.js process.

3

What is the impact of successful exploitation?

Sandboxed code can crash the host Node.js process, creating a denial-of-service condition.

4

Does the earlier CVE-2026-22709 fix prevent this issue?

No. The v3.10.2 fix sanitized the onRejected callback in overridden .then() and .catch() methods, but did not address the executor-to-unhandledRejection path.

5

What version fixes the vulnerability?

Upgrade vm2 to version 3.11.0, which fixes this vulnerability.

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