๐Ÿ” CVE Alert

CVE-2026-93604

HIGH 7.2

vm2 3.11.8 Sandbox Escape via crypto.setFips

CVSS Score
7.2
EPSS Score
0.0%
EPSS Percentile
0th

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.

CWE CWE-284
Vendor patriksimek
Product vm2
Published Sep 18, 2026
Last Updated Sep 18, 2026
Stay Ahead of the Next One

Get instant alerts for patriksimek vm2

Be the first to know when new high vulnerabilities affecting patriksimek vm2 are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
None
Integrity
Low
Availability
Low

Affected Versions

patriksimek / vm2
0 < 3.12.1

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/patriksimek/vm2/security/advisories/GHSA-x3v6-43hc-82mc vulncheck.com: https://www.vulncheck.com/advisories/vm2-3.11.8-sandbox-escape-via-crypto-setfips

Credits

๐Ÿ” rexpository ๐Ÿ” manus-use