CVE-2026-73653CWE-22CWE-552CWE-862path-traversalbroken-access-control

CVE-2026-73653

Critical · published August 13, 2026

CVSS v3.1
9.4
EPSS
1%
Percentile
55.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.4 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.00790 · 55.8th percentile
Weaknesses
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'); CWE-552 · Files or Directories Accessible to External Parties; CWE-862 · Missing Authorization
Published
2026-08-13T23:17Z
References (10)
EPSS history
Timeline
  • 13 AUG 18:19Z
    Vitest: Browser Mode provider commands bypass the file-access permission gate
    cvelistv5