CVE-2026-93604 vm2 3.11.8 Sandbox Escape via crypto.setFips
MediumCVSS 6.9
EPSS 0.35%
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/ansible-automation-platform/automation-portal:1791295379(Red Hat:ansible_portal:2.1) | All versions | No fix listed |
| redhat/ansible-automation-platform/automation-portal:1791293780(Red Hat:ansible_portal:2.2) | All versions | No fix listed |
| redhat/ansible-automation-platform/bootc-automation-portal-rhel9:1791865660(Red Hat:ansible_portal:2.2::el9) | All versions | No fix listed |
| redhat/rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backend:1791242697(Red Hat:rhdh:1.10::el9) | All versions | No fix listed |
| redhat/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend:1791251282(Red Hat:rhdh:1.10::el9) | All versions | No fix listed |
| redhat/rhdh/rhdh-hub-rhel9:1791311495(Red Hat:rhdh:1.10::el9) | All versions | No fix listed |
| redhat/rhdh/rhdh-hub-rhel9:1793117813(Red Hat:rhdh:1.9::el9) | All versions | No fix listed |
| npm vm2 | < 3.12.1 | 3.12.1 |
References
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:80603 patch vendor-advisory
- RHSA-2026:80644 patch vendor-advisory
- RHSA-2026:82151 patch vendor-advisory
- RHSA-2026:76788 patch vendor-advisory
- RHSA-2026:79088 patch vendor-advisory
- RHSA-2026:91651 patch vendor-advisory
- Red Hat Bugzilla 2538616 issue-tracking
- www.cve.org
- nvd.nist.gov
- GitHub Security Advisory (GHSA-x3v6-43hc-82mc) exploit vendor-advisory
- VulnCheck Advisory: vm2 3.11.8 Sandbox Escape via crypto.setFips third-party-advisory