Skip to main content

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

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

Description

A protection mechanism failure in patriksimek vm2 versions 3.11.3 through 3.11.6 allows sandboxed code to execute arbitrary native code in the host process. This occurs because the Node.js host module node:sqlite is exposed and can be accessed via a crafted module request, enabling loading of native extensions with host privileges. The vulnerability is fixed in 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.11.3 <3.11.7
vm2
pkg:npm/vm2
Affected versions
>=3.11.3 <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, 22:16:23 UTC

Technical Analysis

In patriksimek vm2 versions 3.11.3 through 3.11.6, the Node.js builtin module node:sqlite is exposed to sandboxed code running in NodeVM when builtin modules are permitted. The module is wrapped with vm.readonly(), preventing property assignment but leaving callable host functions accessible. The module resolver treats requests starting with 'node:' as core modules and strips only one 'node:' prefix, allowing a sandboxed request for 'node:node:sqlite' to resolve to the node:sqlite module. This enables sandboxed code to create an in-memory DatabaseSync with extension loading enabled and call DatabaseSync.loadExtension() on a native library bundled in the untrusted plugin package. As a result, SQLite loads the native library into the host Node.js process and executes its native entry point, granting arbitrary native code execution outside the sandbox with host privileges. The issue is resolved in vm2 version 3.11.7.

Potential Impact

Sandboxed code can bypass vm2's isolation and execute arbitrary native code within the host Node.js process, potentially leading to full compromise of the host environment with the privileges of the Node.js process. This represents a critical security risk for applications relying on vm2 for sandboxing untrusted code.

Mitigation Recommendations

Upgrade vm2 to version 3.11.7 or later, where this vulnerability is fixed. No other mitigations are indicated. Patch status is confirmed by the vendor advisory stating the fix is 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:42:34.828Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6aac65c355bf5e2cf5fdf67e

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

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

Last updated: 09/18/2026, 01:25:42 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