CVE-2026-47140
CRITICAL 10.0CVSS 3.1NodeVM builtin denylist bypass via process and inspector/promises allows host code execution
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.
- Published
- 12 Jun 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-693
- Also known as
- GHSA-rp36-8xq3-r6c4
- Sources
- NVDJSONOSV GHSA-rp36-8xq3-r6c4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | vm2 | < 3.11.4 | 3.11.4 |
References
- https://github.com/patriksimek/vm2/commit/a1ed47a98d1cc36cb48c0d566d55889688e0b59b · WEB
- https://github.com/patriksimek/vm2/releases/tag/v3.11.4 · WEB
- https://github.com/patriksimek/vm2/security/advisories/GHSA-rp36-8xq3-r6c4 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-47140 · ADVISORY
- https://github.com/patriksimek/vm2 · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 12 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 29 May 2026)