CVE-2026-92936 Details
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.
A vulnerability in vm2 versions 3.11.0 prior to 3.11.7 allows absolute host filesystem paths to be leaked to sandboxed code through error stack formatting. This issue arises because attacker-supplied code can induce the host-realm source transformer to throw a SyntaxError, for instance, by using eval with malformed input. The resulting error's .stack property can then be accessed, bypassing the sandbox-side host-path redaction. The leaked stack information includes absolute paths from vm2, Node.js internals, and the embedding application's source tree, along with host function names. This vulnerability affects the default configurations of VM and NodeVM, without requiring special options, and persists even when string eval is disabled, as the host-side transformer throws before eval is processed.
Users can upgrade to vm2 version 3.11.7 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 17, 2026CISA-ADP
Assessed Sep 17, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/patriksimek/vm2/security/advisories/GHSA-x6m4-chr9-cg97 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/patriksimek/vm2/security/advisories/GHSA-x6m4-chr9-cg97 | [email protected] | AdvisoryExploitRemedyVendor |
| https://www.vulncheck.com/advisories/vm2-3.11.0-before-3.11.7-information-disclosure-via-error-stack | [email protected] | AdvisoryVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-209 | Generation of Error Message Containing Sensitive Information | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| vm2 | >= 3.11.0, <= 3.11.6 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 17, 2026 | CVE Modified | CISA-ADP |
| Sep 17, 2026 | New CVE Received | [email protected] |
Volerion