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.
{
"cna_assigner": "VulnCheck",
"cwe_ids": [
"CWE-913"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/92xxx/CVE-2026-92946.json"
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "3.11.7"
},
{
"introduced": "vm2"
}
],
"source": [
"AFFECTED_FIELD",
"DESCRIPTION"
]
}