chore: upgrade vitest to 4.1.11 to address CVE-2026-84373 - #1637
Merged
Conversation
Refreshes the yarn.lock entries for vitest and its @vitest/* packages. The existing `^4.1.4` devDependency ranges already admit the patched 4.1.11 release, so no package.json change is required. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This comment has been minimized.
This comment has been minimized.
Contributor
License Audit
Weak Copyleft Packages (informational)
Resolved Packages (26)
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes SOU-2193
Summary
Refreshes the
yarn.lockentries forvitestand@vitest/mockerfrom4.1.4to4.1.11to address CVE-2026-84373 (GHSA-82fw-gwwq-j7x9), an arbitrary file read via path traversal in thevitest:interceptor:registerhandler registered on Vite's unauthenticated HMR WebSocket.This is a lockfile-only change. Every workspace already declares
vitest: ^4.1.4, which admits the patched4.1.11release, so nopackage.jsonchange and noresolutionsoverride are needed.Verification
yarn why vitest— all four workspaces resolve to the patched version:yarn why @vitest/mockershows every instance at4.1.11as well.yarn installcleanyarn test— 2153 tests passed across all 4 workspaces onvitest 4.1.11🤖 Generated with Claude Code
Note
Low Risk
Dependency-only security patch for the test runner; no application runtime or auth code changes.
Overview
Patches CVE-2026-84373 by moving the resolved
viteststack from 4.1.4 to 4.1.11 inyarn.lock, including all@vitest/*packages (expect,mocker,runner,snapshot, etc.).This is lockfile-only: workspaces already declare
vitest: ^4.1.4, which allows the patched release without editingpackage.json. The unreleased CHANGELOG entry documents the upgrade.Reviewed by Cursor Bugbot for commit 10fb199. Bugbot is set up for automated code reviews on this repo. Configure here.
Summary by cubic
Upgrades
vitestand its@vitest/*packages from 4.1.4 to 4.1.11 inyarn.lockto patch CVE-2026-84373, an arbitrary file read via path traversal in Vitest's interceptor handler on Vite's unauthenticated HMR WebSocket.^4.1.4devDependency ranges already admit the patched version, so nopackage.jsonedits are needed.CHANGELOG.mdentry under[Unreleased] → Fixed.4.1.11and the full test suite (2,153 tests) passes.Written for commit 10fb199. Summary will update on new commits.