Authorization Bypass Vulnerability in vm2 by Patrik Simek
CVE-2026-100721

9.5CRITICAL

Key Information:

Status
Vendor
CVE Published:
27 September 2026

What is CVE-2026-100721?

The vm2 package prior to version 3.12.2 introduces a critical vulnerability allowing unauthorized access through its external-module resolver. Specifically, when the require.external option is configured with a custom resolver and set to context: 'host', the vulnerability allows untrusted code to exploit the LegacyResolver.customResolve mechanism. This flaw permits the accidental loading of non-allowlisted modules alongside allowlisted ones, enabling sandbox escapes and the execution of arbitrary code within the host context. This exposes applications to significant risks, necessitating prompt updates to versions 3.12.2 or later.

Affected Version(s)

vm2 0 < 3.12.2

vm2 3.12.2

References

CVSS V4

Score:
9.5
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

rexpository
.