Skip to content

CVE-2026-92958 vm2 before 3.11.7 Denylist Bypass via fs/promises

HighCVSS 8.4 EPSS 0.38%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
Red Hat

Description

vm2 through 3.11.6 contains a builtin-module denylist bypass in NodeVM. When the embedder uses the builtin wildcard together with negative entries (e.g. require: { builtin: ['*', '-fs', '-child_process'] }), negative entries are matched by exact module name in lib/builtin.js, so -fs removes only the builtin named fs and does not remove builtin subpaths such as fs/promises. Sandboxed code can therefore call require('fs/promises') or require('node:fs/promises') and reach the promise-based filesystem API despite fs being denied; node: prefix handling is likewise inconsistent (a -node:fs/promises entry does not block require('fs/promises')). Host file creation and writing were confirmed via fsp.writeFile(), and other fs/promises operations (cp, mkdir, rename, rm, rmdir, truncate, read operations, etc.) are also reachable. This issue is fixed in vm2 3.11.7.

Upgrade path

9 packages: 2 fixed, 7 with no fix yet.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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