{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-100721","published":"2026-09-27T02:17:17.547000Z","last_modified":"2026-09-28T17:17:46.057000Z","status":"Deferred","cvss":{"version":"4.0","score":9.5,"severity":"CRITICAL","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"disclosure@vulncheck.com","primary":false},"auth":false,"cwes":["CWE-863"],"cpes":[],"cpes_truncated":false,"vendors":["patriksimek"],"products":["patriksimek/vm2"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-5h3f-q97h-ccvc","ecosystem":"npm","name":"vm2","purl":"pkg:npm/vm2","ranges":[{"introduced":"0","fixed":"3.12.2"}],"versions":[]}],"severity":"critical","priority_score":72,"links":{"html_es":"/es/cve/CVE-2026-100721/","html_en":"/en/cve/CVE-2026-100721/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-100721","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-100721"},"untrusted":{"vendor_name":"patriksimek","product_name":"vm2","desc_en":"vm2 before 3.12.2 contains an authorization bypass in the NodeVM external-module resolver. When an embedder configures `require.external` with a custom resolver (and `context: 'host'`), `LegacyResolver.customResolve` in lib/resolver-compat.js records the resolved module directory in `this.externals` as `new RegExp('^' + escapeRegExp(resolvedPath))`, without requiring a path separator or end-of-string boundary. Untrusted guest code can therefore require the allowlisted module (e.g. `foo`) and then require the absolute path of a non-allowlisted sibling whose path merely shares the resolved prefix (e.g. `.../node_modules/foo2/index.js`); the sibling passes `isPathAllowedForModule` and is loaded through `hostRequire`, so its top-level code runs in the host process before the exports are wrapped with `vm.readonly`, resulting in a sandbox escape and arbitrary code execution in the host context.","affected":[{"untrusted_vendor":"patriksimek","untrusted_product":"vm2"}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"fc478ec0b939340369467eb672a65e56","generated":"2026-11-26T23:24:56.713644Z","es":{"untrusted_title":"Evasión de autorización en resolutor de módulos externos de vm2","untrusted_summary":"vm2 anterior a 3.12.2 contiene una evasión de autorización en el resolutor de módulos externos de NodeVM. Un atacante puede cargar módulos no permitidos explotando una validación de ruta incompleta, lo que permite ejecutar código arbitrario en el contexto del host sin autenticación."},"en":{"untrusted_title":"Authorization bypass in vm2 external module resolver","untrusted_summary":"vm2 before 3.12.2 contains an authorization bypass in the NodeVM external-module resolver. An attacker can load non-allowlisted modules by exploiting incomplete path validation, enabling arbitrary code execution in the host context without authentication."},"remediation":{"status":"fix","fixed_versions":["3.12.2"],"untrusted_action_es":"Actualiza vm2 a la versión 3.12.2 o superior.","untrusted_action_en":"Update vm2 to version 3.12.2 or later.","vendor_url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-5h3f-q97h-ccvc"},"reviewed":false},"references":[{"url":"https://github.com/patriksimek/vm2/commit/6ac3916da84e060c403e407b6b6318fcc66b0e72","tags":[]},{"url":"https://github.com/patriksimek/vm2/commit/91034466bfb7f56b95fd48083ec6ca36d058f164","tags":[]},{"url":"https://github.com/patriksimek/vm2/commit/ab4ee7d803e8c80155e9eb3672226bddbca4aa9c","tags":[]},{"url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-5h3f-q97h-ccvc","tags":[]},{"url":"https://www.vulncheck.com/advisories/vm2-before-3.12.2-authorization-bypass-via-custom-resolver","tags":[]}]}}