CVE-2026-92942 vm2 before 3.11.7 Timeout Bypass via FinalizationRegistry
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- Red Hat
Description
vm2 before 3.11.7 (affected versions <= 3.11.6) does not enforce the VM({ timeout }) option on code executed outside the synchronous VM#run() call. The timeout only wraps the single call to _runScript() via doWithTimeout() in lib/vm.js, and FinalizationRegistry and WeakRef are exposed to sandboxed code unmodified (they are not among the hardened globals in lib/setup-sandbox.js). Sandboxed code can register a FinalizationRegistry cleanup callback against an object and then drop the only strong reference to it; vm.run() returns within the configured timeout, but when the V8 garbage collector later reclaims the object it invokes the sandboxed cleanup callback outside any vm2 timeout accounting. A busy loop in that callback blocks the host event loop for an unbounded period, resulting in denial of service. The time of invocation depends on the garbage collector (e.g. under memory pressure or with --expose-gc).
Upgrade path
9 packages: 2 fixed, 7 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat/ansible-automation-platform/automation-portal:1790254963(Red Hat ansible_portal 2.1) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform/automation-portal:1790256405(Red Hat ansible_portal 2.2) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform/bootc-automation-portal-rhel9:1791865660(Red Hat ansible_portal 2.2 el9) | All versions | No fix listed | No fix yet |
| redhat/rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backend:1791242697(Red Hat rhdh 1.10 el9) | All versions | No fix listed | No fix yet |
| redhat/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend:1791251282(Red Hat rhdh 1.10 el9) | All versions | No fix listed | No fix yet |
| redhat/rhdh/rhdh-hub-rhel9:1791311495(Red Hat rhdh 1.10 el9) | All versions | No fix listed | No fix yet |
| redhat/rhdh/rhdh-hub-rhel9:1793117813(Red Hat rhdh 1.9 el9) | All versions | No fix listed | No fix yet |
| npm vm2 | < 3.11.7 | 3.11.7 | Fixed |
| npm vm2(npm) | < 3.11.7; <= 3.11.6 | 3.11.7 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm vm2 | < 3.11.7 | 3.11.7 |
| redhat/ansible-automation-platform/automation-portal:1790254963(Red Hat:ansible_portal:2.1) | All versions | No fix listed |
| redhat/ansible-automation-platform/automation-portal:1790256405(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(npm) | <= 3.11.6 | No fix listed |
| npm vm2(npm) | < 3.11.7 | 3.11.7 |
References
- GitHub Security Advisory (GHSA-r4fx-v8hh-22mv) exploit vendor-advisory
- VulnCheck Advisory: vm2 before 3.11.7 Timeout Bypass via FinalizationRegistry third-party-advisory
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:72712 patch vendor-advisory
- RHSA-2026:72722 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 2536038 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com
- github.com
- github.com product
- ENISA EUVD EUVD-2026-81592 third-party-advisory