THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-8hr7-r645-pc6w (critical) — vm2: NodeVM nesting guard accepts array-shaped require and permits host RCE

[GHSA] GHSA-8hr7-r645-pc6w (critical) — vm2: NodeVM nesting guard accepts array-shaped require and permits host RCE

highgithub_advisoriesPublished 2026-10-01

GHSA-8hr7-r645-pc6w Severity: critical CVE: CVE-2026-92935

vm2: NodeVM nesting guard accepts array-shaped require and permits host RCE

## Summary

The `NodeVM` constructor computes `hasRealRequireConfig` using `typeof requireOpts === 'object' && requireOpts !== null`, so `require: []` bypasses the guard intended to reject `nesting` without an explicit require configuration. `makeResolverFromLega

MITRE ATT&CK techniques

Indicators of compromise

Original source: https://github.com/advisories/GHSA-8hr7-r645-pc6w