THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-qhwx-74w5-xhxq (critical) — vm2: NodeVM builtin allowlist bypass via node:test.run() execArgv allows sandbox escape

[GHSA] GHSA-qhwx-74w5-xhxq (critical) — vm2: NodeVM builtin allowlist bypass via node:test.run() execArgv allows sandbox escape

medgithub_advisoriesPublished 2026-10-01

GHSA-qhwx-74w5-xhxq Severity: critical CVE: CVE-2026-92948

vm2: NodeVM builtin allowlist bypass via node:test.run() execArgv allows sandbox escape

## Summary

On Node.js 24 and newer, `vm2` can expose the host `node:test` module to sandboxed `NodeVM` code when the embedder explicitly allows the `node:test` builtin. Sandbox code can reach that module through `require('node:node:test')` and call `

MITRE ATT&CK techniques

Indicators of compromise

Original source: https://github.com/advisories/GHSA-qhwx-74w5-xhxq