{"id":"CVE-2026-92958","revision":"d5beec6594784f1a9edadf1f134cc933","records":[{"revision":"d5beec6594784f1a9edadf1f134cc933","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-92958","aliases":[],"title":"vm2 before 3.11.7 Denylist Bypass via fs/promises","description":"vm2 through 3.11.6 contains a builtin-module denylist bypass in NodeVM. When the embedder uses the builtin wildcard together with negative entries (e.g. require: { builtin: ['*', '-fs', '-child_process'] }), negative entries are matched by exact module name in lib/builtin.js, so -fs removes only the builtin named fs and does not remove builtin subpaths such as fs/promises. Sandboxed code can therefore call require('fs/promises') or require('node:fs/promises') and reach the promise-based filesystem API despite fs being denied; node: prefix handling is likewise inconsistent (a -node:fs/promises entry does not block require('fs/promises')). Host file creation and writing were confirmed via fsp.writeFile(), and other fs/promises operations (cp, mkdir, rename, rm, rmdir, truncate, read operations, etc.) are also reachable. This issue is fixed in vm2 3.11.7.","state":0,"publishedAt":"2026-09-17T13:46:15.549+00:00","modifiedAt":"2026-09-18T19:35:47.679+00:00","affected":[{"ecosystem":"Vendor product","name":"vm2","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"patriksimek\",\n                    \"product\": \"vm2\",\n                    \"defaultStatus\": \"unaffected\",\n                    \"packageURL\": \"pkg:npm/vm2\",\n                    \"versions\": [\n                        {\n                            \"version\": \"0\",\n                            \"status\": \"affected\",\n                            \"versionType\": \"semver\",\n                            \"lessThan\": \"3.11.7\"\n                        },\n                        {\n                            \"version\": \"3.11.7\",\n                            \"status\": \"unaffected\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:H/SA:L","score":8.4,"severity":"HIGH"},{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:L","score":8.5,"severity":"HIGH"}],"references":["https://github.com/patriksimek/vm2/security/advisories/GHSA-6rh5-qq4q-97xh","https://www.vulncheck.com/advisories/vm2-before-3.11.7-denylist-bypass-via-fs-promises"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-92958","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-92958","identifiers":["CVE-2026-92958"]},"retained":false,"historicalAffected":[]}],"coverage":[]}