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…
- CVSS
- 7.2High
- Chance of exploitation (EPSS)
- 0.35%
- Published
- Sep 18, 2026
- In the news
- Not yet
What to do
A serious security flaw that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Fixed in: 3.12.1
Affected versions
- Patriksimek Vm2
- Before 3.12.1
Description
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 products
Get alerts for these →No product list yet. It usually appears within a few days of publication.
Timeline 1
Latest change: CVE-2026-93604 published (CVSS 7.2) (Sep 18, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Fri, Sep 18, 2026
- CVECVE-2026-93604 published (CVSS 7.2)CVE Program · 14:19 UTC
References 3
- github.com /patriksimek/vm2/security/advisories/GHSA-x3v6-43hc-82mc
- www.vulncheck.com /advisories/vm2-3.11.8-sandbox-escape-via-crypto-setfips
- github.com /patriksimek/vm2/security/advisories/GHSA-x3v6-43hc-82mc