CVE-2026-93604

published 18 Sep 2026 · updated 18 Sep 2026

vm2 3.11.8 Sandbox Escape via crypto.setFips

7.2HighCVSS 7.2EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 3.12.1.

vm2 through 3.12.0 exposes Node.js's crypto.setFips() function to untrusted guest code when an embedder explicitly allowlists the crypto builtin for a NodeVM (require.builtin: ['crypto']). The builtin sanitizer (sanitizeCryptoModule in lib/builtin.js) replaces crypto.setEngine but leaves crypto.setFips callable, and the readonly wrapper used to expose the host module does not localize side effects of forwarded host functions. Guest code can therefore call crypto.setFips() to change the FIPS mode of the entire host process; the modified mode is subsequently observed by trusted host code (crypto.getFips() changed from 0 to 1 in the reported test), crossing the NodeVM isolation boundary. Fixed in vm2 3.12.1.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
patriksimek<3.12.13.12.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-93604 severity on Zeptric[![CVE-2026-93604](https://zeptric.io/badge/cve/CVE-2026-93604.svg)](https://zeptric.io/cve/CVE-2026-93604)