{"id":"GHSA-2cm2-m3w5-gp2f","revision":"e97e93a07dff45008ae965ee58355788","records":[{"revision":"e97e93a07dff45008ae965ee58355788","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-2cm2-m3w5-gp2f","aliases":["CVE-2026-92963"],"title":"vm2 has access to `VM2_INTERNAL_STATE_DO_NOT_USE_OR_PROGRAM_WILL_FAIL`","description":"### 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```","state":0,"publishedAt":"2026-05-08T16:22:52+00:00","modifiedAt":"2026-09-18T03:56:08.4342111+00:00","affected":[{"ecosystem":"npm","name":"vm2","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"3.11.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/patriksimek/vm2/security/advisories/GHSA-2cm2-m3w5-gp2f","https://github.com/patriksimek/vm2","https://github.com/patriksimek/vm2/releases/tag/v3.11.2"],"sourceUrl":"https://github.com/advisories/GHSA-2cm2-m3w5-gp2f","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-2cm2-m3w5-gp2f","identifiers":["GHSA-2cm2-m3w5-gp2f","CVE-2026-92963"]},"retained":false,"historicalAffected":[]}],"coverage":[]}