CVE-2026-92963
6.9medium
vm2 before 3.11.2 Information Disclosure via Internal State
- Severity
- 6.9medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.26% (higher than 18% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-2cm2-m3w5-gp2f
Description
vm2 versions before 3.11.2 fail to properly restrict access to the VM2_INTERNAL_STATE_DO_NOT_USE_OR_PROGRAM_WILL_FAIL global variable. Attackers can access this internal state object through globalThis to retrieve sensitive sandbox internals.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| patriksimek vm2 | before 3.11.2 Not affected: 3.11.2 | CVE List |
| vm2 (npm) | before 3.11.2 | GitHub Advisory Database |
All scores
| VulnCheck | 6.9medium CVSS:4.0 | 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 |
| VulnCheck | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Classification
What each source says
CVE List
vm2 versions before 3.11.2 fail to properly restrict access to the VM2_INTERNAL_STATE_DO_NOT_USE_OR_PROGRAM_WILL_FAIL global variable. Attackers can access this internal state object through globalThis to retrieve sensitive sandbox internals.
GitHub Advisory Database
Summary
https://github.com/patriksimek/vm2/security/advisories/GHSA-wp5r-2gw5-m7q7 is not fully patched.
Details
It is still possible to get access to VM2_INTERNAL_STATE_DO_NOT_USE_OR_PROGRAM_WILL_FAIL.
PoC
const {VM} = require("vm2");
const vm = new VM();
console.log(vm.run(`
globalThis['VM2_INTERNAL_STATE_DO_NOT_USE_OR_PROGRAM_WILL_FAIL']
`));
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-92963 changed 2026-09-18 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2cm2-m3w5-gp2f changed 2026-11-05 | CC-BY-4.0 |
| NVD | CVE-2026-92963 changed 2026-09-18 | Public domain |