cve.bz

CVE-2026-47698 patriksimek vm2

9.8 criticalEPSS 1.0%Fix available

Critical (9.8) in patriksimek vm2. EPSS 1.0% estimated probability of exploitation activity in the next 30 days. Fixed in vm2 3.11.6.

On this page
vm2 is an open source vm/sandbox for Node.js. Prior to 3.11.6, lib/bridge.js and lib/setup-sandbox.js fail to block stacked indirection through Function.prototype.call around dangerous host prototype getter and setter mutators, allowing sandbox code to sever a host intrinsic's prototype chain and reach e.constructor.constructor for arbitrary host command execution. This issue is fixed in version 3.11.6.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 62nd percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: total, assessed 2026-08-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-913 Improper Control of Dynamically-Managed Code Resources
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • vm2 (npm): fixed in 3.11.6

Ask an AI about this CVE

Show the promptExplain CVE-2026-47698 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-47698?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-47698?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-47698 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.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
patriksimek vm2< 3.11.6

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-cfcw-xp6x-25gjnpmvm2<3.11.63.11.6

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat has rated this vulnerability as having an Important severity because it permits an attacker to escape sandbox confinement and achieve arbitrary command execution under the privileges of the hosting application. To trigger this vulnerability, an attacker must have the ability to submit untrusted JavaScript into a service that relies on the vm2 execution engine. In Red Hat environments such as Red Hat Developer Hub and Ansible Automation Platform, exposure is confined to components evaluating user-provided scripts, limiting direct remote risk where script submission is restricted to authenticated, trusted operators.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 2.1ansible-automation-platform/automation-portal:1791295379Fixed 2026-10-12RHSA-2026:80603
Red Hat Ansible Automation Platform 2.2ansible-automation-platform/automation-portal:1791293780Fixed 2026-10-12RHSA-2026:80644
Red Hat Ansible Automation Platform 2.2ansible-automation-platform/bootc-automation-portal-rhel9:1791865660Fixed 2026-10-13RHSA-2026:82151
Red Hat Developer Hub 1.10rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backend:1791242697Fixed 2026-10-06RHSA-2026:76788
Red Hat Developer Hub 1.10rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend:1791251282Fixed 2026-10-06RHSA-2026:76788
Red Hat Developer Hub 1.10rhdh/rhdh-hub-rhel9:1791311495Fixed 2026-10-08RHSA-2026:79088
Red Hat Developer Hub 1.9rhdh/rhdh-hub-rhel9:1793117813Fixed 2026-10-28RHSA-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-47698.

References

Check your stackJSON