vm2 3.10.2 through 3.11.6 Sandbox Escape via Promise Protector
28Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 9.3epss 0.6%
exploitation probability
0.6%top 54% of all CVEs
observed exploitation
nono source reports it
vm2 versions 3.10.2 through 3.11.6 contain a sandbox escape vulnerability on Node.js 26 where Promise.prototype.finally() bypasses vm2's wrapper protections due to a stale PromiseThenLookupChain protector in V8 14.6. Attackers can exploit this by creating an async function that returns a Promise with an attacker-controlled constructor Symbol.species, allowing them to reach the host Function constructor and process object for arbitrary code execution.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Affected products
patriksimek · vm2References
https://github.com/patriksimek/vm2/commit/4635ddd85839461c8ad791990023a477efefe7bdhttps://github.com/patriksimek/vm2/commit/7b26e81087ec88c287d9a4812f969d412f32774ehttps://github.com/patriksimek/vm2/security/advisories/GHSA-27g9-p43v-cw3vhttps://www.vulncheck.com/advisories/vm2-3.10.2-through-3.11.6-sandbox-escape-via-promise-protector