Paper/Archive/CVE-2026-92946

CVE-2026-92946

patriksimek vm2 — vm2 before 3.11.7 Remote Code Execution via require.external

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
vm2< 3.11.73.11.7CNA

Scores by source

VulnCheck (CNA)10.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
VulnCheck (CNA)10.0CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: total

References

advisorygithub.com/patriksimek/vm2/security/advisories/GHSA-j3hm-6rg5-mchvwriteupvulncheck.com/advisories/vm2-before-3.11.7-remote-code-execution-via-require-external