{"cve":"CVE-2026-22709","nvd":{"published":"2026-01-26T22:15:55.890","modified":"2026-06-17T10:20:16.550","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":10.0},"cwes":["CWE-94","CWE-693","CWE-913"],"references":["https://github.com/patriksimek/vm2/commit/4b009c2d4b1131c01810c1205e641d614c322a29","https://github.com/patriksimek/vm2/releases/tag/v3.10.2","https://github.com/patriksimek/vm2/security/advisories/GHSA-99p7-6v5w-7xg8"],"products":["vm2_project:vm2"],"source":"nvd","synced_at":"2026-10-19T22:21:16.563232421+00:00"},"epss":{"cve":"CVE-2026-22709","score":0.0127,"percentile":0.69818,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-99p7-6v5w-7xg8","url":"https://osv.dev/vulnerability/GHSA-99p7-6v5w-7xg8","summary":"vm2 has a Sandbox Escape","modified":"2026-02-03T03:05:10.011021Z","packages":[{"ecosystem":"npm","name":"vm2","purl":"pkg:npm/vm2","ranges":["<3.10.2"],"fixed":["3.10.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}