# CVE-2026-92936: vm2 3.11.0 before 3.11.7 Information Disclosure via Error Stack

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-17T13:46:01.524Z
- Modified: 2026-10-05T22:45:06.434Z
- Also known as: GHSA-x6m4-chr9-cg97
- Weaknesses: CWE-209, CWE-497
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- patriksimek vm2: from 3.11.0 before 3.11.7 (not affected: 3.11.7)
- vm2 (npm): from 3.11.0 before 3.11.7

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N`
- VulnCheck: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N`
- GitHub: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N`

## References

- <https://github.com/patriksimek/vm2/security/advisories/GHSA-x6m4-chr9-cg97> (exploit, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/vm2-3.11.0-before-3.11.7-information-disclosure-via-error-stack> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-92936> (advisory)
- <https://github.com/patriksimek/vm2/commit/5d5ba5343af571c688a3a81cefad2de25b94180a> (web)
- <https://github.com/patriksimek/vm2> (package)
- <https://github.com/patriksimek/vm2/releases/tag/v3.11.7> (web)

## Sources

- CVE List: [CVE-2026-92936](https://www.cve.org/CVERecord?id=CVE-2026-92936), CVE Terms of Use, modified 2026-09-17
- GitHub Advisory Database: [GHSA-x6m4-chr9-cg97](https://github.com/advisories/GHSA-x6m4-chr9-cg97), CC-BY-4.0, modified 2026-10-05
- NVD: [CVE-2026-92936](https://nvd.nist.gov/vuln/detail/CVE-2026-92936), Public domain, modified 2026-09-17

---

Page: https://cve.day/CVE-2026-92936 · Whole record: https://cve.day/CVE-2026-92936.json · Rebuilt by cve.day 2026-11-25T22:59:39.241Z
