{"id":"CVE-2026-92939","published":"2026-09-17T13:46:03Z","modified":"2026-09-17T14:26:31Z","title":"vm2 3.11.3 through 3.11.6 Native Code Execution via crypto.setEngine","vendor":"patriksimek","product":"vm2","tier":"tail","description":{"text":"vm2 3.11.3 through 3.11.6 exposes the host Node.js crypto module to a NodeVM sandbox when the crypto builtin is allowed. The module is presented via a recursive read-only proxy, but its callable exports still execute with host-process authority. Sandboxed JavaScript can therefore call crypto.setEngine() with a filesystem path to an attacker-supplied native library (for example, one bundled in an untrusted plugin package already written to disk); OpenSSL asks the operating-system dynamic loader to load the file, and the library's constructor executes native code in the host process before engine-symbol validation rejects it. Exploitation requires only the crypto builtin and does not require fs, process, module, child_process, worker_threads, vm, or inspector access, resulting in a sandbox escape and arbitrary native code execution. Fixed in 3.11.7.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.9,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00616,"percentile":0.50466,"provenance":"source"},"cwes":[{"id":"CWE-114","name":"Process Control"}],"references":[{"url":"https://github.com/patriksimek/vm2/security/advisories/GHSA-46pr-c5wc-xffx","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/vm2-3.11.3-through-3.11.6-native-code-execution-via-crypto-setengine","tags":["third-party-advisory"]}],"priority":{"score":17.0,"factors":[{"name":"EPSS percentile","points":10.09},{"name":"CVSS severity","points":6.93}]},"vendorSlug":"patriksimek","affectedVersions":[{"vendor":"patriksimek","product":"vm2","versions":[">= 3.11.3, < 3.11.7"]}],"fixedVersions":[{"vendor":"patriksimek","product":"vm2","versions":["3.11.7"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-09-17T14:26:12.253959Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"vm2","vulnerableRanges":[">=3.11.3, <3.11.7"],"patched":["3.11.7"],"from":["GHSA-46pr-c5wc-xffx"],"provenance":"source"}],"summary":{"text":"The vm2 sandbox library (versions 3.11.3 through 3.11.6) exposes the host Node.js crypto module to NodeVM sandboxes when the crypto builtin is allowed, and its callable exports run with host-process authority. An attacker with the ability to run sandboxed JavaScript, using only the crypto builtin, can call crypto.setEngine() with a path to a native library already on disk (such as one bundled in an untrusted plugin package) to execute arbitrary native code in the host process and escape the sandbox.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:38:29Z"},"euvd":{"id":"EUVD-2026-81589","exploited":false,"provenance":"source"}}