CVE-2026-92936: Generation of Error Message Containing Sensitive Information in patriksimek vm2
vm2 versions 3.11.0 through 3.11.6 leak absolute host filesystem paths to sandboxed code through error stack formatting. Attacker-supplied code can force the host-realm source transformer to throw a SyntaxError (for example by calling eval with malformed source) and then read the error's .stack property; the bridge forwards the .stack read to the host-realm formatter, bypassing the sandbox-side host-path redaction introduced for GHSA-v27g-jcqj-v8rw. The returned stack string discloses absolute paths from vm2, Node.js internals, and the embedding application's own source tree, along with host function names. Default new VM() and new NodeVM() configurations are affected without any special options, and the issue persists when string eval is disabled because the host-side transformer throws before eval is handled. The impact is information disclosure only; no code execution results. Fixed in vm2 3.11.7.
AI Analysis
Technical Summary
The vm2 sandbox library versions 3.11.0 through 3.11.6 have a vulnerability (CVE-2026-92936) where error stack formatting leaks absolute host filesystem paths to sandboxed code. An attacker can cause the host-realm source transformer to throw a SyntaxError by supplying malformed code (e.g., via eval). Reading the error's .stack property bypasses sandbox-side path redaction, exposing absolute paths from vm2, Node.js internals, and the embedding application's source tree, along with host function names. This affects default configurations of new VM() and new NodeVM() and persists even when string eval is disabled. The vulnerability is limited to information disclosure without code execution. The issue is fixed in vm2 version 3.11.7.
Potential Impact
The vulnerability allows an attacker to obtain absolute filesystem paths from the host environment, including vm2 internals, Node.js internals, and the embedding application's source code paths. This information disclosure could aid attackers in reconnaissance but does not enable code execution or other direct compromises.
Mitigation Recommendations
Upgrade vm2 to version 3.11.7 or later, where this vulnerability has been fixed. No other mitigation is required as the issue is resolved in the official patch.
CVE-2026-92936: Generation of Error Message Containing Sensitive Information in patriksimek vm2
Description
vm2 versions 3.11.0 through 3.11.6 leak absolute host filesystem paths to sandboxed code through error stack formatting. Attacker-supplied code can force the host-realm source transformer to throw a SyntaxError (for example by calling eval with malformed source) and then read the error's .stack property; the bridge forwards the .stack read to the host-realm formatter, bypassing the sandbox-side host-path redaction introduced for GHSA-v27g-jcqj-v8rw. The returned stack string discloses absolute paths from vm2, Node.js internals, and the embedding application's own source tree, along with host function names. Default new VM() and new NodeVM() configurations are affected without any special options, and the issue persists when string eval is disabled because the host-side transformer throws before eval is handled. The impact is information disclosure only; no code execution results. Fixed in vm2 3.11.7.
CVSS v4.0
Score 6.9medium
Affected software
patriksimek
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
Technical Analysis
The vm2 sandbox library versions 3.11.0 through 3.11.6 have a vulnerability (CVE-2026-92936) where error stack formatting leaks absolute host filesystem paths to sandboxed code. An attacker can cause the host-realm source transformer to throw a SyntaxError by supplying malformed code (e.g., via eval). Reading the error's .stack property bypasses sandbox-side path redaction, exposing absolute paths from vm2, Node.js internals, and the embedding application's source tree, along with host function names. This affects default configurations of new VM() and new NodeVM() and persists even when string eval is disabled. The vulnerability is limited to information disclosure without code execution. The issue is fixed in vm2 version 3.11.7.
Potential Impact
The vulnerability allows an attacker to obtain absolute filesystem paths from the host environment, including vm2 internals, Node.js internals, and the embedding application's source code paths. This information disclosure could aid attackers in reconnaissance but does not enable code execution or other direct compromises.
Mitigation Recommendations
Upgrade vm2 to version 3.11.7 or later, where this vulnerability has been fixed. No other mitigation is required as the issue is resolved in the official patch.
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: 6aac0f0b55bf5e2cf5988208
Added to database: 09/17/2026, 16:02:19 UTC
Last enriched: 09/17/2026, 16:16:40 UTC
Last updated: 09/17/2026, 22:38:40 UTC
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.