CVE-2026-73653
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.
Scoring
- Severity
- CRITICAL
- CVSS base score
- 9.4
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
- EPSS probability
- 0.64%
- CWE
- CWE-22, CWE-552, CWE-862
- Published
- 2026-08-13
- Last modified
- 2026-08-13
Affected products
- vitest-dev vitest
- vitest-dev vitest
- vitest-dev vitest
Weakness type
Related vulnerabilities
- CVE-2026-87727 — a-blog cms Ver. 3.2.33 and earlier contains a path traversal vulnerability, which allows an...
- CVE-2026-19991 — UsersWP <= 1.2.70 - Authenticated (Subscriber+) Arbitrary File Deletion
- CVE-2026-77807 — AcyMailing – An Ultimate Newsletter Plugin and Marketing Automation Solution for WordPress <= 11.0.4 - Unauthenticated Arbitrary File Read via 'user[name]' Parameter
- CVE-2026-49836 — psd-tools: arbitrary file write via smart-object filename
- CVE-2026-80424 — DataStage on Cloud Pak for Data has several vulnerabilities due to open source software
- CVE-2026-45767 — Suricata datasets: save to absolute filename can be bypassed when combined with load command
- CVE-2026-81540 — DataStage on Cloud Pak for Data has several vulnerabilities due to open source software
- CVE-2026-81551 — DataStage on Cloud Pak for Data has several vulnerabilities due to open source software