{"id":"CVE-2026-92936","published":"2026-09-17T13:46:01Z","modified":"2026-09-17T15:52:18Z","title":"vm2 3.11.0 before 3.11.7 Information Disclosure via Error Stack","vendor":"patriksimek","product":"vm2","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00455,"percentile":0.31459,"provenance":"source"},"cwes":[{"id":"CWE-209","name":"Generation of Error Message Containing Sensitive Information"}],"references":[{"url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-x6m4-chr9-cg97","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/vm2-3.11.0-before-3.11.7-information-disclosure-via-error-stack","tags":["third-party-advisory"]}],"priority":{"score":10.4,"factors":[{"name":"EPSS percentile","points":6.29},{"name":"CVSS severity","points":4.06}]},"vendorSlug":"patriksimek","affectedVersions":[{"vendor":"patriksimek","product":"vm2","versions":[">= 3.11.0, < 3.11.7"]}],"fixedVersions":[{"vendor":"patriksimek","product":"vm2","versions":["3.11.7"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-17T15:50:38.454592Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"vm2","vulnerableRanges":[">=3.11.0, <3.11.7"],"patched":["3.11.7"],"from":["GHSA-x6m4-chr9-cg97"],"provenance":"source"}],"summary":{"text":"The vm2 Node.js sandbox library, versions 3.11.0 through 3.11.6, leaks absolute host filesystem paths, Node.js internals and host function names to sandboxed code through its error stack formatting, which bypasses the earlier path redaction. An attacker needs only to get code running inside a default new VM() or new NodeVM() sandbox, with no authentication, user interaction or special configuration required, and can trigger the leak even when string eval is disabled.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:53:42Z"},"euvd":{"id":"EUVD-2026-81586","exploited":false,"provenance":"source"}}