{"id":"CVE-2026-43999","published":"2026-05-13T17:21:22Z","modified":"2026-09-07T12:05:02Z","title":"vm2: NodeVM builtin allowlist bypass via `module` builtin's `Module._load` allows sandbox escape","vendor":"patriksimek","product":"vm2","tier":"tail","description":{"text":"vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.0, NodeVM's builtin allowlist can be bypassed when the module builtin is allowed (including via the '*' wildcard). The module builtin exposes Node's Module._load(), which loads any module by name directly in the host context, completely bypassing vm2's builtin restriction. This allows sandboxed code to load excluded builtins like child_process and achieve remote code execution. This vulnerability is fixed in 3.11.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.9,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0097,"percentile":0.60573,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"},{"id":"CWE-829","name":"Inclusion of Functionality from Untrusted Control Sphere"}],"references":[{"url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-947f-4v7f-x2v8","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-43999","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2477196","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-43999.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:50850","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":19.0,"factors":[{"name":"EPSS percentile","points":12.11},{"name":"CVSS severity","points":6.93}]},"vendorSlug":"patriksimek","affectedVersions":[{"vendor":"patriksimek","product":"vm2","versions":["< 3.11.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-05-14T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"vm2","vulnerableRanges":[">=3.10.5, <3.11.0"],"patched":["3.11.0"],"from":["GHSA-947f-4v7f-x2v8"],"provenance":"source"}],"summary":{"text":"The vm2 sandbox library for Node.js has a flaw in NodeVM's builtin allowlist, which can be bypassed through the module builtin's Module._load() method, letting sandboxed code load modules that were meant to be excluded. An attacker who can run code inside a NodeVM sandbox where the module builtin is allowed (including via the * wildcard) and who has low privileges can load restricted modules such as child_process and achieve remote code execution, with no user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:10Z"},"euvd":{"id":"EUVD-2026-30069","exploited":false,"provenance":"source"}}