CVE-2026-73653: Vulnerability in @vitest/browser

Critical. Vitest is a testing framework powered by Vite. Prior to versions 3.2.7, 4.1.10, and 5.0.0-beta.6, Browser Mode provider commands including upload, takeScreenshot, screenshotMatcher, stopChunkTrace, deleteTracing, and annotateTraces accept browser-supplied file paths without enforcing the allowWrite permission gate or confining paths to the project root. A client that can reach the Browser Mode API can read...

npm, CWE-22, CWE-552

Exploitation
None confirmed
Severity
9.4 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-p63j-vcc4-9vmv
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
Weakness
CWE-22, CWE-552, CWE-862
Published
21 Jul 2026
Last change
9 Sept 2026
Ecosystem
npm

Affected packages

Vulnerable version ranges and fixed releases

  • @vitest/browser npm, Affected from 4.0.0 before 4.1.10. Fixed in 4.1.10

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes