Advisory record · GHSA-j3hm-6rg5-mchv

vm2: NodeVM `require.external` without an explicit `require.root` grants unrestricted host filesystem access and full RCE

CVSS 10.0 CriticalCriticalEPSS 0.0078 · 55th percentile

Critical, because:

  • CVSS score 10.0: 9.0 or more.

How we decide what’s critical

Published by the GitHub Advisory Database at 5 Oct 2026, 22:34 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
vm2npm<3.11.73.11.7
Identifiers
GHSA-j3hm-6rg5-mchv · CVE-2026-92946
Weakness (CWE)
CWE-913
Published
5 Oct 2026
Updated
5 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

vm2 versions before 3.11.7 are affected when NodeVM's require.external option is enabled and require.root is not explicitly set to a path that excludes node_modules, because modules are then loaded through the real Node.js require() instead of inside the sandbox. Code running inside the sandbox can escape it and execute arbitrary operating system commands on the host. Upgrade the vm2 npm package to 3.11.7, which contains the fix.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
10.0 Critical 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H CNA (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.0078, the 55th percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 13:34 UTC First seen by agentprime
  2. 31 Oct 2026, 13:34 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.