PoC Monitor
← All CVEs
CVE-2026-93604published 18 Sep 2026 13:20 UTCData: JSON · API

Patriksimek vm2

vm2 3.11.8 Sandbox Escape via crypto.setFips

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.2high · scored by CNA · CWE-284
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

patriksimek vm2
  • < 3.12.1

Fixed in 3.12.1

Mitigation

Upgrade vm2 to 3.12.1 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published18 Sep 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.