CVE-2026-73653
Published:August 13, 2026
Updated:August 31, 2026
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 arbitrary local files, create or overwrite image and trace files, or delete files accessible to the Vitest process even when allowWrite is false. This issue is fixed in versions 3.2.7, 4.1.10, and 5.0.0-beta.6.
Affected Packages
https://github.com/vitest-dev/vitest.git (GITHUB):
Affected version(s) >=v4.0.0 <v4.1.10Fix Suggestion:
Update to version v4.1.10https://github.com/vitest-dev/vitest.git (GITHUB):
Affected version(s) >=v3.0.0 <v3.2.7Fix Suggestion:
Update to version v3.2.7@vitest/browser (NPM):
Affected version(s) >=4.0.0 <4.1.10Fix Suggestion:
Update to version 4.1.10@vitest/browser (NPM):
Affected version(s) >=5.0.0-beta.1 <5.0.0-beta.6Fix Suggestion:
Update to version 5.0.0-beta.6@vitest/browser (NPM):
Affected version(s) >=0.19.0 <3.2.7Fix Suggestion:
Update to version 3.2.7Related Resources (13)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
9.4
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
LOW
Weakness Type (CWE)
EPSS
Base Score:
0.64