Live threats

All CVEs / patriksimek

CVE-2026-92946patriksimek vm2

Remote code execution in vm2 without authentication

Critical 10.0 No auth needed

Priority
75
CVSS 4.0
10.0
EPSS
—
Auth required
No
Published
Sep 17, 2026
Updated
Sep 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-913
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

vm2 before 3.11.7 contains a remote code execution vulnerability when require.external is enabled without an explicit require.root that excludes node_modules. Sandboxed code can require vm2's own package, instantiate an unrestricted NodeVM instance, and execute arbitrary host OS commands via child_process.

Show the original NVD text

vm2 before 3.11.7 contains a remote code execution vulnerability when require.external is enabled without an explicit require.root that excludes node_modules. Sandboxed code can require vm2's own package, instantiate an unrestricted NodeVM instance, and execute arbitrary host OS commands via child_process.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 3.11.7

Update vm2 to version 3.11.7 or later. If you use require.external, ensure require.root is explicitly configured to exclude node_modules.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for vm2.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm vm2 < 3.11.7 3.11.7 npm install vm2@3.11.7

Per OSV / GitHub Advisories (GHSA-j3hm-6rg5-mchv). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.