CVE-2026-73653: Vitest: Browser Mode provider commands bypass the file-access permission gate

Published Aug 13, 2026
·
Updated

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 Software

1 affected component
Vitest vitest>=0<3.2.7, >=0<4.1.10, >=0<5.0.0-beta.6

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Vitest to a version that resolves this vulnerability.

    Fixed in 3.2.7
  2. Upgrade

    Upgrade Vitest to a version that resolves this vulnerability.

    Fixed in 4.1.10
  3. Upgrade

    Upgrade Vitest to a version that resolves this vulnerability.

    Fixed in 5.0.0-beta.6

Event History

Aug 13, 2026
CVE Published
via MITRE·06:19 PM
Data Sourced
via MITRE·06:19 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-73653?

CVE-2026-73653 has a critical severity rating of 9.4.

2

How do I fix CVE-2026-73653?

To mitigate CVE-2026-73653, upgrade to Vitest versions 3.2.7, 4.1.10, or 5.0.0-beta.6 or later.

3

What impact does CVE-2026-73653 have on my system?

CVE-2026-73653 allows unauthorized file access due to improper handling of file paths in the Browser Mode provider commands of Vitest.

4

What versions of Vitest are affected by CVE-2026-73653?

CVE-2026-73653 affects Vitest versions prior to 3.2.7, 4.1.10, and 5.0.0-beta.6.

5

What is the nature of the vulnerability in CVE-2026-73653?

CVE-2026-73653 is a path traversal vulnerability allowing bypass of file-access permission restrictions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203