CVE-2026-92946: Improper Control of Dynamically-Managed Code Resources in patriksimek vm2
vm2 before 3.11.7 contains a remote code execution vulnerability when require.external is enabled without an explicit require.root that excludes node_modules. Sandboxed code can require vm2's own package, instantiate an unrestricted NodeVM instance, and execute arbitrary host OS commands via child_process.
AI Analysis
Technical Summary
The vulnerability in patriksimek vm2 before version 3.11.7 arises from improper control of dynamically-managed code resources. Specifically, when require.external is enabled without restricting require.root to exclude node_modules, sandboxed code can require the vm2 package itself, instantiate an unrestricted NodeVM, and execute arbitrary OS commands via child_process. This leads to remote code execution with no privileges or user interaction required, resulting in a critical security risk.
Potential Impact
An attacker can execute arbitrary commands on the host operating system remotely without any privileges or user interaction, leading to full compromise of the host environment. The vulnerability has a CVSS 4.0 score of 10.0, indicating maximum severity and impact.
Mitigation Recommendations
Upgrade patriksimek vm2 to version 3.11.7 or later, where this vulnerability is fixed. Versions prior to 3.11.7 are vulnerable. No other mitigations are indicated. Patch status is confirmed by the affectedVersions field indicating fixed in 3.11.7.
CVE-2026-92946: Improper Control of Dynamically-Managed Code Resources in patriksimek vm2
Description
vm2 before 3.11.7 contains a remote code execution vulnerability when require.external is enabled without an explicit require.root that excludes node_modules. Sandboxed code can require vm2's own package, instantiate an unrestricted NodeVM instance, and execute arbitrary host OS commands via child_process.
CVSS v4.0
Score 10.0critical
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
The vulnerability in patriksimek vm2 before version 3.11.7 arises from improper control of dynamically-managed code resources. Specifically, when require.external is enabled without restricting require.root to exclude node_modules, sandboxed code can require the vm2 package itself, instantiate an unrestricted NodeVM, and execute arbitrary OS commands via child_process. This leads to remote code execution with no privileges or user interaction required, resulting in a critical security risk.
Potential Impact
An attacker can execute arbitrary commands on the host operating system remotely without any privileges or user interaction, leading to full compromise of the host environment. The vulnerability has a CVSS 4.0 score of 10.0, indicating maximum severity and impact.
Mitigation Recommendations
Upgrade patriksimek vm2 to version 3.11.7 or later, where this vulnerability is fixed. Versions prior to 3.11.7 are vulnerable. No other mitigations are indicated. Patch status is confirmed by the affectedVersions field indicating fixed in 3.11.7.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-09-17T12:43:03.568Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6aac405055bf5e2cf5cb2382
Added to database: 09/17/2026, 19:32:32 UTC
Last enriched: 09/17/2026, 19:46:42 UTC
Last updated: 09/18/2026, 01:04:53 UTC
Views: 7
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.