Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 77%

CVE-2026-47141: CWE-668: Exposure of Resource to Wrong Sphere in patriksimek vm2

0
Medium
VulnerabilityCVE-2026-47141cvecve-2026-47141cwe-668
Published: 06/12/2026 (06/12/2026, 14:17:35 UTC)
Source: CVE Database V5
Vendor/Project: patriksimek
Product: vm2

Description

vm2 is an open source vm/sandbox for Node.js. Prior to version 3.11.4, NodeVM exposes some process-wide observability builtins when they are allowed through require.builtin. The diagnostics_channel, async_hooks, and perf_hooks builtins are not blocked by the dangerous builtin denylist. These modules are process-wide, not sandbox-local. Sandboxed code can use them to observe host application data across the vm2 boundary. This issue has been patched in version 3.11.4.

CVSS v4.0

Score 6.9medium

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

Affected software

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: 06/19/2026, 18:24:39 UTC

Technical Analysis

The vm2 Node.js sandbox prior to version 3.11.4 exposes process-wide observability built-in modules (diagnostics_channel, async_hooks, perf_hooks) to sandboxed code when allowed through require.builtin. These modules are not sandbox-local but process-wide, enabling sandboxed code to observe host application data outside the sandbox boundary. This constitutes an exposure of resource to the wrong sphere (CWE-668). The issue has been addressed by patching in vm2 version 3.11.4.

Potential Impact

Sandboxed code can access process-wide observability modules that allow it to monitor host application data beyond the sandbox boundary. This exposure can lead to unintended information disclosure from the host environment to the sandboxed code. The CVSS 4.0 base score is 6.9 (medium severity), reflecting network attack vector, low complexity, no privileges or user interaction required, and low impact on confidentiality.

Mitigation Recommendations

Upgrade vm2 to version 3.11.4 or later where this vulnerability is patched. No other mitigation is indicated or required as the fix is available.

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
GitHub_M
Date Reserved
2026-05-18T19:50:18.696Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a2c1a23e617e2d8347eb1e7

Added to database: 06/12/2026, 14:39:31 UTC

Last enriched: 06/19/2026, 18:24:39 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 70

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