PT-2026-99448

CVE-2026-100721

·

Published

2026-08-22

·

Updated

2026-11-09

Description by

CVSS 4.0
9.5
Critical
MetricsAV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
Name of the Vulnerable Software and Affected Versions vm2 versions prior to 3.12.2
Description An authorization bypass exists in the NodeVM external-module resolver. When an embedder configures require.external with a custom resolver and context: 'host', the LegacyResolver.customResolve function in lib/resolver-compat.js records the resolved module directory in this.externals using a regular expression that lacks a path separator or end-of-string boundary. This allows untrusted guest code to require an allowlisted module and subsequently require the absolute path of a non-allowlisted sibling module that shares the same resolved prefix. Because the sibling passes isPathAllowedForModule, it is loaded through hostRequire, allowing its top-level code to execute in the host process before exports are wrapped with vm.readonly. This leads to a sandbox escape and arbitrary code execution in the host context.
Recommendations Update to version 3.12.2 or later.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-5H3F-Q97H-CCVC
GHSA-C9WR-QM7P-P6VC
CLEANSTART-2026-CN31177
ECHO-923F-7C77-29C1
Found an issue in the description? Have something to add? Feel free to write us 👾