{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-92935","published":"2026-09-17T14:17:57.810000Z","last_modified":"2026-09-17T20:18:59.093000Z","status":"Deferred","cvss":{"version":"4.0","score":9.5,"severity":"CRITICAL","vector":"CVSS:4.0/AV:N/AC:H/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-913"],"cpes":[],"cpes_truncated":false,"vendors":["patriksimek"],"products":["patriksimek/vm2"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-8hr7-r645-pc6w","ecosystem":"npm","name":"vm2","purl":"pkg:npm/vm2","ranges":[{"introduced":"3.11.4","fixed":"3.11.7"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":72,"links":{"html_es":"/es/cve/CVE-2026-92935/","html_en":"/en/cve/CVE-2026-92935/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-92935","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-92935"},"untrusted":{"vendor_name":"patriksimek","product_name":"vm2","desc_en":"vm2 is a sandbox for running untrusted Node.js code. In versions >= 3.11.4 and <= 3.11.6, the NodeVM constructor computes `hasRealRequireConfig` with `typeof requireOpts === 'object' && requireOpts !== null`, so an array-shaped `require` value (for example `require: []`) satisfies the guard that is meant to reject nesting without an explicit require configuration. `makeResolverFromLegacyOptions()` then destructures the array into undefined option fields and returns a resolver containing only `NESTING_OVERRIDE.vm2`. As a result, an attacker who can supply JavaScript executed by a NodeVM configured with truthy `nesting` and an array-shaped `require` (e.g. `new NodeVM({nesting: true, require: []})`) can require the host `vm2` module, create an inner NodeVM with an attacker-chosen builtin allowlist (such as `child_process`), and execute arbitrary commands with the privileges of the host Node.js process, escaping the sandbox. Outer builtin restrictions do not constrain the attacker-created inner NodeVM. This issue is fixed in vm2 3.11.7.","affected":[{"untrusted_vendor":"patriksimek","untrusted_product":"vm2","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"0970dee803a1bd59848098ba71f0a8f1","generated":"2026-11-26T23:24:38.435198Z","es":{"untrusted_title":"Ejecución remota de código en vm2 mediante configuración de require con array","untrusted_summary":"vm2 versiones 3.11.4 a 3.11.6 contienen una falla en la validación de la configuración de `require` en NodeVM que permite a un atacante eludir el sandbox. Si se configura NodeVM con `nesting: true` y `require: []` (un array), el atacante puede requerir el módulo `vm2` del host, crear una NodeVM interna con acceso a módulos nativos como `child_process`, y ejecutar comandos arbitrarios con los privilegios del proceso Node.js."},"en":{"untrusted_title":"Remote code execution in vm2 via array-shaped require configuration","untrusted_summary":"vm2 versions 3.11.4 to 3.11.6 contain a validation flaw in the `require` configuration of NodeVM that allows an attacker to bypass the sandbox. If NodeVM is configured with `nesting: true` and `require: []` (an array), the attacker can require the host `vm2` module, create an inner NodeVM with access to native modules like `child_process`, and execute arbitrary commands with the privileges of the Node.js process."},"remediation":{"status":"fix","fixed_versions":["3.11.7"],"untrusted_action_es":"Actualiza vm2 a la versión 3.11.7 o superior para aplicar la corrección de validación de configuración.","untrusted_action_en":"Update vm2 to version 3.11.7 or later to apply the configuration validation fix.","vendor_url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-8hr7-r645-pc6w"},"reviewed":false},"references":[{"url":"https://github.com/patriksimek/vm2/commit/54b54b74a382577f0bcd0538c5bf99acdcd7f53b","tags":[]},{"url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-8hr7-r645-pc6w","tags":[]},{"url":"https://www.vulncheck.com/advisories/vm2-nodevm-remote-code-execution-via-array-shaped-require","tags":[]}]}}