# CVE-2026-93604: vm2 3.11.8 Sandbox Escape via crypto.setFips

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:L/SA:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-18T13:20:13.637Z
- Modified: 2026-09-18T14:19:12.287Z
- Weaknesses: CWE-284
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- patriksimek vm2: before 3.12.1 (not affected: 3.12.1)

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:L/SA:L`
- VulnCheck: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L`

## References

- <https://github.com/patriksimek/vm2/security/advisories/GHSA-x3v6-43hc-82mc> (exploit, vendor-advisory)
- <https://www.vulncheck.com/advisories/vm2-3.11.8-sandbox-escape-via-crypto-setfips> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-93604](https://www.cve.org/CVERecord?id=CVE-2026-93604), CVE Terms of Use, modified 2026-09-18
- NVD: [CVE-2026-93604](https://nvd.nist.gov/vuln/detail/CVE-2026-93604), Public domain, modified 2026-09-18

---

Page: https://cve.day/CVE-2026-93604 · Whole record: https://cve.day/CVE-2026-93604.json · Rebuilt by cve.day 2026-11-25T22:59:39.596Z
