Skip to content

chore(dev-deps): update vm2 to 3.10.4 to fix CVE-2026-22709#566

Merged
styfle merged 3 commits intomainfrom
copilot/update-vm2-dependency-version
Mar 17, 2026
Merged

chore(dev-deps): update vm2 to 3.10.4 to fix CVE-2026-22709#566
styfle merged 3 commits intomainfrom
copilot/update-vm2-dependency-version

Conversation

Copy link
Contributor

Copilot AI commented Feb 10, 2026

vm2 3.10.0 has a critical sandbox escape via unsanitized Promise callbacks (CVE-2026-22709, CVSS 9.8).

  • Bumped vm2 devDependency from ^3.9.18^3.10.4 (lockfile was pinned to vulnerable 3.10.0)
Original prompt

This section details on the original issue you should resolve

<issue_title>Security Vulnerability in your devDependencies (vm2)</issue_title>
<issue_description>Security Vulnerability Alert for the verson of vm2 found in your devDependencies:

On 25 Jan 26, a GitHub project maintainer shared a critical flaw found in vm2, a popular NodeJS sandbox library.1 The vulnerability, tracked as CVE-2026-22709 (CVSS v3.1 score 9.8), arises from vm2’s failure to properly sandbox ‘Promises,’ the callback sanitization component that handles asynchronous operations, and could allow an attacker to escape the sandbox and run untrusted JavaScript code.2
(U) CVE-2026-22709 affects vm2 version 3.10.0, and has been fixed in versions 3.10.1, 3.10.2, and 3.10.3. Users are recommended to update to version 3.10.3, as it contains a more secure patch to avoid a potential bypass. As of 30 Jan 26, there is no evidence of active exploitation.

Please fix this.</issue_description>

<agent_instructions>Update vm2 dependency to the latest version and make sure tests are passing.</agent_instructions>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

…2026-22709

Co-authored-by: styfle <229881+styfle@users.noreply.github.com>
@socket-security
Copy link

socket-security bot commented Feb 10, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedvm2@​3.10.0 ⏵ 3.10.498 -1100 +75100 +190 +3100

View full report

Copilot AI changed the title [WIP] Update vm2 to version 3.10.3 to fix security vulnerability Update vm2 to 3.10.4 to fix CVE-2026-22709 Feb 10, 2026
Copilot AI requested a review from styfle February 10, 2026 19:48
@styfle styfle changed the title Update vm2 to 3.10.4 to fix CVE-2026-22709 chore: update vm2 to 3.10.4 to fix CVE-2026-22709 Mar 11, 2026
@styfle styfle marked this pull request as ready for review March 11, 2026 12:52
@styfle styfle requested review from a team, icyJoseph and ijjk as code owners March 11, 2026 12:52
@styfle styfle enabled auto-merge (squash) March 11, 2026 12:53
@styfle styfle changed the title chore: update vm2 to 3.10.4 to fix CVE-2026-22709 chore(dev-deps): update vm2 to 3.10.4 to fix CVE-2026-22709 Mar 11, 2026
@styfle styfle merged commit 07b5cd9 into main Mar 17, 2026
12 checks passed
@styfle styfle deleted the copilot/update-vm2-dependency-version branch March 17, 2026 23:17
@github-actions
Copy link

🎉 This PR is included in version 1.4.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Security Vulnerability in your devDependencies (vm2)

3 participants