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

- Severity: Critical 9.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 52% of CVEs (2026-12-01)
- Published: 2026-07-21T19:36:12.000Z
- Modified: 2026-09-10T03:51:11.555Z
- Also known as: GHSA-p63j-vcc4-9vmv
- Weaknesses: CWE-22, CWE-552, CWE-862
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- vitest-dev vitest: < 3.2.7; >= 4.0.0, < 4.1.10; >= 5.0.0-beta.1, < 5.0.0-beta.6
- @vitest/browser (npm): from 4.0.0 before 4.1.10; before 3.2.7; from 5.0.0-beta.1 before 5.0.0-beta.6

## Every score

- GitHub_M: CVSS:3.1 9.4 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`
- GitHub: CVSS:3.1 9.4 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L`

## References

- <https://github.com/vitest-dev/vitest/security/advisories/GHSA-p63j-vcc4-9vmv> (web)
- <https://github.com/vitest-dev/vitest/pull/10674> (web)
- <https://github.com/vitest-dev/vitest/pull/10679> (web)
- <https://github.com/vitest-dev/vitest/pull/10680> (web)
- <https://github.com/vitest-dev/vitest/commit/33f96a145ef09ca6a43b4e555eb273e64a87be23> (web)
- <https://github.com/vitest-dev/vitest/commit/5c18dd267ff7f47f24cab2f615a16b37d90feb7f> (web)
- <https://github.com/vitest-dev/vitest/commit/b795e36b34969bec50b47a9f29d26f799a6a04fb> (web)
- <https://github.com/vitest-dev/vitest/releases/tag/v3.2.7> (web)
- <https://github.com/vitest-dev/vitest/releases/tag/v4.1.10> (web)
- <https://github.com/vitest-dev/vitest/releases/tag/v5.0.0-beta.6> (web)
- <https://github.com/vitest-dev/vitest> (package)

## Sources

- CVE List: [CVE-2026-73653](https://www.cve.org/CVERecord?id=CVE-2026-73653), CVE Terms of Use, modified 2026-08-13
- GitHub Advisory Database: [GHSA-p63j-vcc4-9vmv](https://github.com/advisories/GHSA-p63j-vcc4-9vmv), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-73653](https://nvd.nist.gov/vuln/detail/CVE-2026-73653), Public domain, modified 2026-09-09

---

Page: https://cve.day/CVE-2026-73653 · Whole record: https://cve.day/CVE-2026-73653.json · Rebuilt by cve.day 2026-11-25T22:59:32.825Z
