Skip to main content

CVE-2026-92958: Improper Privilege Management in patriksimek vm2

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

Description

CVE-2026-92958 is a high-severity vulnerability in the patriksimek vm2 library up to version 3.11.6. It involves a bypass of the builtin-module denylist in NodeVM, allowing sandboxed code to require certain filesystem submodules despite explicit denials. This enables unauthorized access to promise-based filesystem APIs such as fs/promises, potentially allowing file creation and modification. The issue is fixed in version 3.11.7.

CVSS v4.0

Score 8.4high

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

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, 22:16:59 UTC

Technical Analysis

The vulnerability in vm2 versions before 3.11.7 arises from improper privilege management in the builtin-module denylist feature of NodeVM. When the embedder configures require with a builtin wildcard and negative entries (e.g., require: { builtin: ['*', '-fs', '-child_process'] }), the negative entries only match exact module names and do not block subpaths like fs/promises. Consequently, sandboxed code can bypass restrictions by requiring submodules such as 'fs/promises' or 'node:fs/promises', gaining access to promise-based filesystem operations. This allows sandboxed code to perform file system writes and other operations that should have been denied. The vendor fixed this issue in vm2 version 3.11.7.

Potential Impact

Sandboxed code can bypass module denylist restrictions to access and use promise-based filesystem APIs, enabling unauthorized file creation, modification, and other filesystem operations. This breaks the intended security isolation of the sandbox environment, potentially leading to privilege escalation or unauthorized data manipulation.

Mitigation Recommendations

Upgrade to vm2 version 3.11.7 or later, where this builtin-module denylist bypass is fixed. No other mitigation is required as the vendor has provided an official fix.

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

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

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

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