CVE-2026-92956patriksimek vm2
Escape de sandbox en vm2 mediante WebAssembly.compileStreaming
Crítica 10.0 Sin autenticación
Seguir: esta CVE · patriksimek · patriksimek vm2 Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 75
- CVSS 4.0
- 10.0
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 17 sep 2026
- Actualizada
- 17 sep 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-693
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: total
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/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
Qué pasa
vm2 versiones 3.10.1 a 3.11.6 contienen un escape de sandbox alcanzable desde una sandbox `new VM()` predeterminada en Node.js 26. Un atacante puede manipular Symbol.species en Promise.prototype.finally para obtener acceso a objetos del host y recuperar el objeto `process` real, ganando capacidades del host como acceso a módulos fs sin requerir configuración insegura.
Ver el texto original de NVD (en inglés)
vm2 versions 3.10.1 through 3.11.6 contain a sandbox escape reachable from a default `new VM()` sandbox when running on Node.js 26. WebAssembly.compileStreaming and WebAssembly.instantiateStreaming can produce a raw host-realm Promise that rejects with a host-realm error object; by controlling Symbol.species via Promise.prototype.finally, sandbox code receives that raw host error, walks from the host error constructor to the host Function constructor, and recovers the real host `process` object, gaining host Node.js capabilities (e.g. access to host modules such as fs) in the context of the process running the sandbox. No NodeVM, require permission, host object injection, or otherwise unsafe configuration is required. This is a bypass of the fix for GHSA-6j2x-vhqr-qr7q, which removed the JSPI entry points WebAssembly.promising and WebAssembly.Suspending. The issue is fixed in 3.11.7.
Qué hacer
Hay parche · versiones corregidas: 3.11.7
Actualiza vm2 a la versión 3.11.7 o superior.
- Aplica la actualización de seguridad del fabricante para vm2.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| npm | vm2 |
≥ 3.10.1 < 3.11.7 |
3.11.7 |
npm install vm2@3.11.7 |
Según OSV / GitHub Advisories (GHSA-wjwh-qqvp-g4p4). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- patriksimek · vm2
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.