{"id":"CVE-2026-92946","published":"2026-09-17T13:46:07Z","modified":"2026-09-17T19:20:46Z","title":"vm2 before 3.11.7 Remote Code Execution via require.external","vendor":"patriksimek","product":"vm2","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":10,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00857,"percentile":0.55879,"provenance":"source"},"cwes":[{"id":"CWE-913","name":"Improper Control of Dynamically-Managed Code Resources"}],"references":[{"url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-j3hm-6rg5-mchv","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/vm2-before-3.11.7-remote-code-execution-via-require-external","tags":["third-party-advisory"]}],"priority":{"score":18.2,"factors":[{"name":"EPSS percentile","points":11.18},{"name":"CVSS severity","points":7.0}]},"vendorSlug":"patriksimek","affectedVersions":[{"vendor":"patriksimek","product":"vm2","versions":["< 3.11.7"]}],"fixedVersions":[{"vendor":"patriksimek","product":"vm2","versions":["3.11.7"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2026-09-17T19:18:11.290554Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"vm2","vulnerableRanges":["<3.11.7"],"patched":["3.11.7"],"from":["GHSA-j3hm-6rg5-mchv"],"provenance":"source"}],"summary":{"text":"The vulnerability is in the vm2 Node.js sandbox library before version 3.11.7, where remote code execution becomes possible when require.external is enabled without an explicit require.root that excludes node_modules. An attacker who can run code inside the sandbox can require vm2's own package, create an unrestricted NodeVM instance, and use child_process to execute arbitrary commands on the host operating system, with no authentication or user interaction needed beyond the sandboxed code being able to run, provided the vulnerable configuration is in place.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:16:50Z"},"euvd":{"id":"EUVD-2026-81595","exploited":false,"provenance":"source"}}