CVSS 4.0
6.9 mediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:L/SA:LMedium (6.9) in patriksimek vm2. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:L/SA:LCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:LExplain CVE-2026-93604 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-93604?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-93604?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-93604 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| patriksimek vm2 | before 3.12.1 |
Red Hat rates this Important.
A sandbox escape vulnerability was found in vm2, a Node.js library for running untrusted code in isolated sandboxes. In versions through 3.12.0, vm2 exposes Node.js's crypto.setFips() function to untrusted guest code when an embedder explicitly allowlists the crypto builtin for a NodeVM (by setting require.builtin: ['crypto']). The builtin sanitizer 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. As a result, guest code can call crypto.setFips() to change the FIPS mode of the entire host process, crossing the NodeVM isolation boundary.
The modified FIPS mode is subsequently observed by trusted host code, violating vm2's fundamental security guarantee of isolating untrusted guest code from the host process. This issue affects Red Hat Developer Hub and Ansible Portal, which use vm2 for sandboxed code execution.
This issue is fixed in vm2 version 3.12.1. Red Hat will provide updated versions of Developer Hub and Ansible Portal that include the fixed library version.
Until updates are available, administrators can reduce the risk of sandbox escape attacks by implementing the following mitigations:
1. Review vm2 sandbox configurations to determine if the 'crypto' builtin is explicitly allowlisted for untrusted guest code (require.builtin: ['crypto']). If crypto access is not required for guest code functionality, remove it from the allowlist.
2. Restrict the sources from which untrusted code is accepted. Only allow code execution from authenticated, trusted users or verified sources. Implement code review processes for any scripts or plugins before they are executed in vm2 sandboxes.
3. Monitor for unexpected changes to the Node.js process FIPS mode. Log calls to crypto.getFips() before and after guest code execution to detect unauthorized FIPS mode modifications.
4. In FIPS-required environments, consider running vm2 sandboxes in separate isolated processes rather than in the same process as critical application components. Process-level isolation provides an additional security boundary beyond vm2's VM isolation.
5. Implement additional access controls and audit logging for any systems that accept and execute user-provided code, scripts, or plugins.
6. Upgrade to vm2 3.12.1 or later as soon as updated packages are available from Red Hat.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ansible Automation Platform 2.1 | ansible-automation-platform/automation-portal:1791295379 | Fixed 2026-10-12 | RHSA-2026:80603 |
| Red Hat Ansible Automation Platform 2.2 | ansible-automation-platform/automation-portal:1791293780 | Fixed 2026-10-12 | RHSA-2026:80644 |
| Red Hat Ansible Automation Platform 2.2 | ansible-automation-platform/bootc-automation-portal-rhel9:1791865660 | Fixed 2026-10-13 | RHSA-2026:82151 |
| Red Hat Developer Hub 1.10 | rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backend:1791242697 | Fixed 2026-10-06 | RHSA-2026:76788 |
| Red Hat Developer Hub 1.10 | rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend:1791251282 | Fixed 2026-10-06 | RHSA-2026:76788 |
| Red Hat Developer Hub 1.10 | rhdh/rhdh-hub-rhel9:1791311495 | Fixed 2026-10-08 | RHSA-2026:79088 |
| Red Hat Developer Hub 1.9 | rhdh/rhdh-hub-rhel9:1793117813 | Fixed 2026-10-28 | RHSA-2026:91651 |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-93604.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-284 (17).