{"id":"CVE-2026-47140","summary":"vm2: NodeVM builtin denylist bypass via process and inspector/promises allows host code execution","details":"vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.4, NodeVM blocks several dangerous Node.js builtins such as module, worker_threads, cluster, vm, repl, and inspector. However, the denylist misses process and inspector/promises. Both can be used from sandboxed code to reach host-side execution primitives. This allows sandboxed code to bypass the intended builtin restrictions and execute code in the host process. This issue has been patched in version 3.11.4.","aliases":["GHSA-rp36-8xq3-r6c4"],"modified":"2026-08-12T03:51:17.416355172Z","published":"2026-06-12T14:16:10.727Z","database_specific":{"cwe_ids":["CWE-693"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47140.json","cna_assigner":"GitHub_M"},"references":[{"type":"WEB","url":"https://github.com/patriksimek/vm2/releases/tag/v3.11.4"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47140.json"},{"type":"ADVISORY","url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-rp36-8xq3-r6c4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47140"},{"type":"FIX","url":"https://github.com/patriksimek/vm2/commit/a1ed47a98d1cc36cb48c0d566d55889688e0b59b"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/patriksimek/vm2","events":[{"introduced":"0"},{"fixed":"a1ed47a98d1cc36cb48c0d566d55889688e0b59b"},{"fixed":"27354d56563b0acb54eb9dd92edbc167612b9d4b"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"3.11.4"}]}}],"versions":["v3.11.3","v3.11.2","v3.11.1","v3.11.0","v3.10.5","v3.10.4","v3.10.3","v3.10.2","v3.10.1","v3.10.0","3.9.19","3.9.18","3.9.17","3.9.16","3.9.15","3.9.14","3.9.13","3.9.12","3.9.11","3.9.10","3.9.9","3.9.8","3.9.7","3.9.6","3.9.5","3.9.4","3.9.3","v3.9.2","v3.9.1","v3.9.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-47140.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H"}]}