CVE-2026-43999: CWE-863: Incorrect Authorization in patriksimek vm2
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.
AI Analysis
Technical Summary
CVE-2026-43999 describes an incorrect authorization vulnerability (CWE-863) in the vm2 Node.js sandbox prior to version 3.11.0. The vulnerability arises because the builtin module exposes Node's internal Module._load() function, which allows sandboxed code to bypass the builtin allowlist restrictions. This enables loading of excluded built-in modules like child_process, leading to remote code execution in the host environment. The vulnerability has a CVSS v3.1 score of 9.9 (critical) and is fixed in vm2 version 3.11.0. Red Hat advisory confirms the issue and states that an attacker with low privileges who can execute sandboxed code when the builtin module is permitted may exploit this to achieve remote code execution. No known exploits in the wild have been reported. The vendor advisory and Red Hat confirm the fix is available in version 3.11.0.
Potential Impact
The vulnerability allows an attacker with the ability to execute sandboxed code in vm2 (when the builtin module is allowed) to bypass sandbox restrictions and load any built-in Node.js module, including sensitive ones like child_process. This leads to remote code execution on the host system, compromising confidentiality, integrity, and availability with high impact. The CVSS score of 9.9 reflects the critical severity of this flaw.
Mitigation Recommendations
A fix is available in vm2 version 3.11.0. Users should upgrade to vm2 3.11.0 or later to remediate this vulnerability. Until upgraded, avoid allowing the builtin module or the '*' wildcard in the NodeVM builtin allowlist to reduce exposure. The vendor advisory does not mention any other mitigations or temporary fixes.
CVE-2026-43999: CWE-863: Incorrect Authorization in patriksimek vm2
Description
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.
CVSS v3.1
Score 9.9critical
Affected software
patriksimek
vm2
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-43999 describes an incorrect authorization vulnerability (CWE-863) in the vm2 Node.js sandbox prior to version 3.11.0. The vulnerability arises because the builtin module exposes Node's internal Module._load() function, which allows sandboxed code to bypass the builtin allowlist restrictions. This enables loading of excluded built-in modules like child_process, leading to remote code execution in the host environment. The vulnerability has a CVSS v3.1 score of 9.9 (critical) and is fixed in vm2 version 3.11.0. Red Hat advisory confirms the issue and states that an attacker with low privileges who can execute sandboxed code when the builtin module is permitted may exploit this to achieve remote code execution. No known exploits in the wild have been reported. The vendor advisory and Red Hat confirm the fix is available in version 3.11.0.
Potential Impact
The vulnerability allows an attacker with the ability to execute sandboxed code in vm2 (when the builtin module is allowed) to bypass sandbox restrictions and load any built-in Node.js module, including sensitive ones like child_process. This leads to remote code execution on the host system, compromising confidentiality, integrity, and availability with high impact. The CVSS score of 9.9 reflects the critical severity of this flaw.
Mitigation Recommendations
A fix is available in vm2 version 3.11.0. Users should upgrade to vm2 3.11.0 or later to remediate this vulnerability. Until upgraded, avoid allowing the builtin module or the '*' wildcard in the NodeVM builtin allowlist to reduce exposure. The vendor advisory does not mention any other mitigations or temporary fixes.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-04T20:24:31.917Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-43999","vendor":"Red Hat"}]
Threat ID: 6a04ba1fcbff5d8610f48256
Added to database: 05/13/2026, 17:51:27 UTC
Last enriched: 08/06/2026, 13:00:43 UTC
Last updated: 09/13/2026, 22:12:47 UTC
Views: 65
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.