Skip to main content
Mallory
CriticalPublic exploitVulnerability

CVE-2026-22709: Promise callback sanitization bypass in vm2

Published Jan 26, 2026 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS10.0Critical · v3.1
EPSS1.3%71st percentile
CISA KEVNoNot listed
In the wildReported1 exploitation record in Mallory
Vendor
Vm2 Project
IdentifiersCVE-2026-22709CWE-913 · Improper Control of…

CVE-2026-22709 is a sandbox escape vulnerability in the vm2 library for Node.js affecting versions before 3.10.2. Callbacks attached to localPromise.prototype.then are sanitized, but callbacks on global Promises returned by async functions are not adequately protected. The globalPromise.prototype.then and globalPromise.prototype.catch implementations use Function.prototype.call, which attacker-controlled sandbox code can intercept to bypass sanitization and obtain unsanitized host error objects. Their constructor chain can expose the host Function constructor, enabling arbitrary code execution outside the sandbox. Version 3.10.1 partially addressed the issue; version 3.10.2 tightened the fix.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation breaks vm2's isolation boundary and enables arbitrary JavaScript and operating-system command execution in the host Node.js environment. The resulting access is bounded by the privileges and external isolation controls of the hosting process, rather than vm2's sandbox restrictions. A proof of concept demonstrates host command execution.

Mitigation

If you can’t patch tonight, do this now.

Until patched, do not execute untrusted code through vm2. Where execution cannot be suspended, isolate the Node.js process in a locked-down container or virtual machine with minimal privileges, no sensitive mounts or secrets, restricted network egress, and strict operating-system security profiles. Apply resource limits and do not treat vm2 as the sole security boundary.

Remediation

Patch, then assume compromise.

Upgrade vm2 to version 3.10.2 or a later supported release, and ensure applications using embedded or forked copies incorporate the fix. The patch replaces interceptable Function.prototype.call invocations in Promise handlers with Reflect.apply. Version 3.10.1 is insufficient because its partial fix remained bypassable.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Vm2 ProjectVm2application
FAQ

Frequently asked questions

Is CVE-2026-22709 exploited in the wild?
Yes. As of Oct 6, 2026, Mallory has reports of exploitation in the wild.
Is there a public exploit for CVE-2026-22709?
Yes. As of Oct 6, 2026, Mallory has reports of a public exploit for CVE-2026-22709.
Is there a patch for CVE-2026-22709?
Upgrade vm2 to version 3.10.2 or a later supported release, and ensure applications using embedded or forked copies incorporate the fix. The patch replaces interceptable Function.prototype.call invocations in Promise handlers with Reflect.apply.
What products are affected by CVE-2026-22709?
Vm2 Project Vm2.
How severe is CVE-2026-22709?
CVE-2026-22709 has a CVSS v3.1 score of 10.0 (Critical) and an EPSS score of 1.3% (71st percentile) as of Oct 6, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity37Community discussion across Reddit, Mastodon, and other social sources.