Skip to main content

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

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

Description

CVE-2026-92962 is a low-severity vulnerability in the vm2 JavaScript sandbox up to version 3.11.3. It involves the defaultSandboxPrepareStackTrace function using prototype-walking index assignment to build an output array, allowing sandboxed code to intercept stack-trace lines via an accessor on Array.prototype. This creates an information side channel and violates the sandbox's bridge-container defense invariant but does not enable sandbox escape. The issue is fixed in vm2 version 3.11.4 by changing to own data property assignment using Reflect.defineProperty.

CVSS v4.0

Score 2.1low

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

Affected software

patriksimek

vm2

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

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, 16:01:58 UTC

Technical Analysis

The vulnerability in vm2 versions up to 3.11.3 arises from the defaultSandboxPrepareStackTrace function building its output array by assigning to array indices via prototype-walking (lines[lines.length] = value) rather than using a prototype-bypassing define-property method. Because the array is allocated within the sandbox realm, malicious sandbox code can install an accessor on Array.prototype for the relevant index. This accessor is triggered when the sandbox reads error.stack or triggers Error.prepareStackTrace, allowing the sandboxed code to observe and intercept each stack-trace line written by the bridge. The same pattern occurs in the error-handling branch. The vulnerability results in an information side channel and a violation of the sandbox's defense invariant but does not lead to sandbox escape. The vendor rates this issue as low severity. The fix in vm2 3.11.4 replaces the assignment with Reflect.defineProperty to install each entry as an own data property, preventing the interception.

Potential Impact

The impact is limited to an information side channel where sandboxed code can observe and intercept stack-trace lines generated by the bridge. There is no known sandbox escape or privilege escalation. The vendor rates the severity as low.

Mitigation Recommendations

A fix is available in vm2 version 3.11.4, which changes the array property assignment to use Reflect.defineProperty, preventing the interception of stack-trace lines by sandboxed code. Users should upgrade to vm2 3.11.4 or later to remediate this issue.

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:31.527Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6aac0b8155bf5e2cf5942eef

Added to database: 09/17/2026, 15:47:13 UTC

Last enriched: 09/17/2026, 16:01:58 UTC

Last updated: 09/17/2026, 16:58:18 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