Skip to main content

CVE-2026-92948: Protection Mechanism Failure in patriksimek vm2

0
Critical
VulnerabilityCVE-2026-92948cvecve-2026-92948
Published: 09/17/2026 (09/17/2026, 13:46:08 UTC)
Source: CVE Database V5
Vendor/Project: patriksimek
Product: vm2

Description

vm2 versions from 3.9.6 up to 3.11.6 contain a sandbox escape vulnerability on Node.js 24 and newer. This occurs due to a bypass of the NodeVM builtin allowlist when the embedder explicitly allows the 'node:test' builtin module. The vulnerability allows sandboxed code to execute arbitrary JavaScript on the host Node process outside the sandbox. The issue is fixed in vm2 version 3.11.7.

CVSS v4.0

Score 9.4critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
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:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Affected software

patriksimek

vm2

Affected versions
>=3.9.6 <3.11.7
vm2
pkg:npm/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

AILast updated: 09/17/2026, 22:16:40 UTC

Technical Analysis

The vm2 library versions >=3.9.6 and <=3.11.6 are vulnerable to a sandbox escape on Node.js 24+ when the embedder allows the 'node:test' builtin module. The vulnerability arises because module.builtinModules exposes a scheme-only key 'node:test' not covered by vm2's family-based DANGEROUS_BUILTINS protection. This key is stored in a generic host-passthrough loader. The requireImpl() function strips a single 'node:' prefix, so requiring 'node:node:test' resolves to the host module, providing a readonly proxy. Calls to node:test.run() spawn a separate Node process with attacker-controlled execArgv, including '--eval=<JavaScript>', enabling arbitrary code execution outside the sandbox. This vulnerability is fixed in vm2 version 3.11.7.

Potential Impact

An attacker with access to the sandbox can bypass vm2's sandbox protections and execute arbitrary JavaScript code on the host Node.js process outside the sandbox environment. This leads to a critical security breach allowing full host compromise via sandbox escape.

Mitigation Recommendations

Upgrade vm2 to version 3.11.7 or later, where this vulnerability is fixed. No other mitigations are specified or recommended.

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: 6aac65c555bf5e2cf5fdf68f

Added to database: 09/17/2026, 22:12:21 UTC

Last enriched: 09/17/2026, 22:16:40 UTC

Last updated: 09/18/2026, 02:27:39 UTC

Views: 6

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