CVE-2026-44007: CWE-284: Improper Access Control in patriksimek vm2
vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.1, when a NodeVM is created with nesting: true, sandbox code can unconditionally require('vm2') regardless of the outer VM's require configuration — including require: false. With access to vm2, the sandbox constructs a new inner NodeVM with its own unrestricted require settings and executes arbitrary OS commands on the host. Any application that runs untrusted code inside a NodeVM with nesting: true is fully compromised. This vulnerability is fixed in 3.11.1.
AI Analysis
Technical Summary
CVE-2026-44007 is an improper access control vulnerability in the open source Node.js sandbox vm2. When a NodeVM is instantiated with nesting: true in versions before 3.11.1, sandboxed code can bypass the outer VM's require restrictions (including require: false) and unconditionally require the 'vm2' module. This allows the sandbox to create a nested NodeVM with unrestricted require permissions, enabling execution of arbitrary OS commands on the host system. This results in full compromise of any application running untrusted code inside such a NodeVM configuration. The issue is resolved in vm2 version 3.11.1.
Potential Impact
Exploitation of this vulnerability allows sandboxed code to escalate privileges by bypassing require restrictions, creating nested VMs with full require access, and executing arbitrary operating system commands on the host. This leads to complete compromise of the host application environment running the vulnerable vm2 versions with nesting enabled.
Mitigation Recommendations
This vulnerability is fixed in vm2 version 3.11.1. Users should upgrade to version 3.11.1 or later to remediate this issue. There is no indication of alternative mitigations or temporary fixes. Patch status is confirmed by the vendor advisory. No additional action is required once upgraded.
CVE-2026-44007: CWE-284: Improper Access Control in patriksimek vm2
Description
vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.1, when a NodeVM is created with nesting: true, sandbox code can unconditionally require('vm2') regardless of the outer VM's require configuration — including require: false. With access to vm2, the sandbox constructs a new inner NodeVM with its own unrestricted require settings and executes arbitrary OS commands on the host. Any application that runs untrusted code inside a NodeVM with nesting: true is fully compromised. This vulnerability is fixed in 3.11.1.
CVSS v3.1
Score 9.1critical
Affected software
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-44007 is an improper access control vulnerability in the open source Node.js sandbox vm2. When a NodeVM is instantiated with nesting: true in versions before 3.11.1, sandboxed code can bypass the outer VM's require restrictions (including require: false) and unconditionally require the 'vm2' module. This allows the sandbox to create a nested NodeVM with unrestricted require permissions, enabling execution of arbitrary OS commands on the host system. This results in full compromise of any application running untrusted code inside such a NodeVM configuration. The issue is resolved in vm2 version 3.11.1.
Potential Impact
Exploitation of this vulnerability allows sandboxed code to escalate privileges by bypassing require restrictions, creating nested VMs with full require access, and executing arbitrary operating system commands on the host. This leads to complete compromise of the host application environment running the vulnerable vm2 versions with nesting enabled.
Mitigation Recommendations
This vulnerability is fixed in vm2 version 3.11.1. Users should upgrade to version 3.11.1 or later to remediate this issue. There is no indication of alternative mitigations or temporary fixes. Patch status is confirmed by the vendor advisory. No additional action is required once upgraded.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-04T21:24:36.505Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-44007","vendor":"Red Hat"}]
Threat ID: 6a04ba22cbff5d8610f482cb
Added to database: 05/13/2026, 17:51:30 UTC
Last enriched: 07/15/2026, 09:20:52 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 54
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.