Skip to main content

CVE-2026-92946: Improper Control of Dynamically-Managed Code Resources in patriksimek vm2

0
Critical
VulnerabilityCVE-2026-92946cvecve-2026-92946
Published: 09/17/2026 (09/17/2026, 13:46:07 UTC)
Source: CVE Database V5
Vendor/Project: patriksimek
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
High
Subsq. Integrity
High
Subsq. Availability
High
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Affected software

patriksimek

vm2

Affected versions
>=0 <3.11.7
vm2
pkg:npm/vm2
Affected versions
>=0 <3.11.7

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

AILast updated: 09/17/2026, 19:46:42 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses