You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
deps: upgrade root vitest from 2.x to 3.x (critical security fix) #2974
Dependabot alerts #80 and #81 flag vitest versions < 3.2.6 for arbitrary file read/exec when Vitest UI server is listening (critical severity).
The docsite already uses vitest 3.x and was bumped to ^3.2.6 in PR #2973. However, the root devDependency is still vitest: ^2.1.0 (resolves to 2.1.9). Upgrading to 3.x is a major version bump that may require changes to test configuration or APIs.
Current: vitest ^2.1.0 (2.1.9) Required: vitest >=3.2.6 CVE: Critical — arbitrary file read and execution via Vitest UI server Impact: Development only (devDependency), but any developer running vitest --ui on an exposed network is at risk.
Action needed: Bump root vitest to ^3.2.6, update @vitest/coverage-v8 to match, and verify all tests still pass with the new major version.
Activity
cixzhang commentedon Jul 12, 2026
Resolved by #3850 (merged 2026-07-11), which bumped vitest from 2.x to 4.x, passing through 3.x.