CVE-2026-47140: CWE-693: Protection Mechanism Failure in patriksimek vm2
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.
AI Analysis
Technical Summary
CVE-2026-47140 is a protection mechanism failure in the patriksimek vm2 sandbox for Node.js. Before version 3.11.4, vm2's denylist blocked several dangerous builtins but missed 'process' and 'inspector/promises'. These omissions allowed sandboxed code to escape the sandbox restrictions and execute arbitrary code in the host environment. This vulnerability has been fixed in vm2 version 3.11.4.
Potential Impact
Exploitation allows sandboxed code to bypass builtin restrictions and execute arbitrary code in the host process, leading to full compromise of the host environment. The CVSS score of 10 indicates critical impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade vm2 to version 3.11.4 or later, where this vulnerability has been patched. No other mitigation is required as the fix addresses the root cause.
CVE-2026-47140: CWE-693: Protection Mechanism Failure in patriksimek vm2
Description
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.
CVSS v3.1
Score 10.0critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-47140 is a protection mechanism failure in the patriksimek vm2 sandbox for Node.js. Before version 3.11.4, vm2's denylist blocked several dangerous builtins but missed 'process' and 'inspector/promises'. These omissions allowed sandboxed code to escape the sandbox restrictions and execute arbitrary code in the host environment. This vulnerability has been fixed in vm2 version 3.11.4.
Potential Impact
Exploitation allows sandboxed code to bypass builtin restrictions and execute arbitrary code in the host process, leading to full compromise of the host environment. The CVSS score of 10 indicates critical impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade vm2 to version 3.11.4 or later, where this vulnerability has been patched. No other mitigation is required as the fix addresses the root cause.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-18T19:50:18.696Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a2c1a23e617e2d8347eb1e2
Added to database: 6/12/2026, 2:39:31 PM
Last enriched: 6/12/2026, 2:55:28 PM
Last updated: 6/13/2026, 4:56:23 AM
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.