CVE-2026-93604
published medium CVSS 4.0 · 6.9vm2 3.11.8 Sandbox Escape via crypto.setFips
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| patriksimek | — | vm20 to < 3.12.1 (affected · semver) · 3.12.1 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.2 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| patriksimek | vm2 | 0 to < 3.12.1 (affected · semver)3.12.1 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-284 Improper Access Control
References
2- GitHub Security Advisory (GHSA-x3v6-43hc-82mc) https://github.com/patriksimek/vm2/security/advisories/GHSA-x3v6-43hc-82mc
- VulnCheck Advisory: vm2 3.11.8 Sandbox Escape via crypto.setFips https://www.vulncheck.com/advisories/vm2-3.11.8-sandbox-escape-via-crypto-setfips
Provider assertions
2VulnCheck · cna
vm2 3.11.8 Sandbox Escape via crypto.setFips
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- df430a49a34d5102b7894bbd708aa52e6503f8ae0ea2ced5663601e37448d9f5
- Ingested
- 23 Sep 2026, 09:40:48 UTC
- Source record
- Official CVE record