Skip to main content
No exploitation reportedFix available

CVE-2026-22709

No exploitation reported by the sources we read.

  • Published2026-01-26
  • Fixed in3.10.2
  • WeaknessCWE-693 · CWE-913 · CWE-94

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

vm2 is an open source vm/sandbox for Node.js. In vm2 prior to version 3.10.2, `Promise.prototype.then` `Promise.prototype.catch` callback sanitization can be bypassed. This allows attackers to escape the sandbox and run arbitrary code. In lib/setup-sandbox.js, the callback function of `localPromise.prototype.then` is sanitized, but `globalPromise.prototype.then` is not sanitized. The return value of async functions is `globalPromise` object. Version 3.10.2 fixes the issue.

Timeline

dates in UTC
  1. 2026-01-2622:15CVE publishedNVD

Versions per branch

NVD · OSV
Vm2 project vm2
BranchAffectedFixed in
3.10< 3.10.23.10.2

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • patriksimek vm2
    Affected
    • = < 3.10.2no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-01-26

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • @rootio/vm2Root:npmall versions · fixed in 3.9.17-root.io.11
  • @rootio/vm2Root:npmall versions · fixed in 3.9.17-root.io.10
  • @rootio/vm2Root:npmall versions · fixed in 3.9.17-root.io.12
  • @rootio/vm2Root:npmall versions · fixed in 3.9.17-root.io.13
  • @rootio/vm2Root:npmall versions · fixed in 3.9.17-root.io.9
  • @rootio/vm2Root:npmall versions · fixed in 3.9.7-root.io.5
  • @rootio/vm2Root:npmall versions · fixed in 3.9.7-root.io.6
  • vm2TuxCare:npmfrom 3.10.0-tuxcare.0 · fixed in 3.10.0-tuxcare.1

7 more package ranges on OSV.dev

Full record on NVD

Fix

  1. Update Vm2 project vm2 to 3.10.2

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • CISA-ADPSSVC decisionnone2026-01-27
  • CNACVSS 3.19.8known since 2026-10-23
  • NVDCVSS 3.110read 2026-10-23
  • CNAweakness (CWE)CWE-693, CWE-913, CWE-94known since 2026-10-23
  • FIRST EPSSEPSS score1.3 %2026-11-18
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryCRITICAL2026-01-26

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Published
2026-01-26
Last Modified
2026-06-17
NVD status
Analyzed
GitHub Advisory
GHSA-99p7-6v5w-7xg8

Frequently asked questions

What is CVE-2026-22709?

vm2 is an open source vm/sandbox for Node.js. In vm2 prior to version 3.10.2, `Promise.prototype.then` `Promise.prototype.catch` callback sanitization can be bypassed. This allows attackers to escape the sandbox and run arbitrary code. In lib/setup-sandbox.js, the callback function of `localPromise.prototype.then` is sanitized, but `globalPromise.prototype.then` is not sanitized. The return value of async functions is `globalPromise` object. Version 3.10.2 fixes the issue.

Is CVE-2026-22709 actively exploited?

Active exploitation of CVE-2026-22709 has not been confirmed. Its EPSS score was 1.3% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-22709?

CVE-2026-22709 has a CVSS v3 base score of 10 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.

Running vm2? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record