CVE-2026-73653Vitest: Browser Mode provider commands bypass the file-access permission gate
- 9.4CriticalCVSS base score
- 0.79%Exploitation in 30 daysEPSS · top 43% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
Published
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Critical9.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L |
| NVDNVD · Deferred | 3.1 | Critical9.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L |
- EPSS (exploitation in 30 days)
- 0.79% · top 43% of all CVEs (14 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.4.
Affected products
- affected < 3.2.7
- affected >= 4.0.0, < 4.1.10
- affected >= 5.0.0-beta.1, < 5.0.0-beta.6
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npm@vitest/browserGHSA-p63j-vcc4-9vmv (opens in a new tab)
References
References10
- https://github.com/vitest-dev/vitest/security/advisories/GHSA-p63j-vcc4-9vmv (opens in a new tab)x_refsource_CONFIRM
- https://github.com/vitest-dev/vitest/pull/10674 (opens in a new tab)x_refsource_MISC
- https://github.com/vitest-dev/vitest/pull/10679 (opens in a new tab)x_refsource_MISC
- https://github.com/vitest-dev/vitest/pull/10680 (opens in a new tab)x_refsource_MISC
- https://github.com/vitest-dev/vitest/commit/33f96a145ef09ca6a43b4e555eb273e64a87be23 (opens in a new tab)x_refsource_MISC
- https://github.com/vitest-dev/vitest/commit/5c18dd267ff7f47f24cab2f615a16b37d90feb7f (opens in a new tab)x_refsource_MISC
- https://github.com/vitest-dev/vitest/commit/b795e36b34969bec50b47a9f29d26f799a6a04fb (opens in a new tab)x_refsource_MISC
- https://github.com/vitest-dev/vitest/releases/tag/v3.2.7 (opens in a new tab)x_refsource_MISC
- https://github.com/vitest-dev/vitest/releases/tag/v4.1.10 (opens in a new tab)x_refsource_MISC
- https://github.com/vitest-dev/vitest/releases/tag/v5.0.0-beta.6 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-58197 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-p63j-vcc4-9vmv (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-73653)Record last updated .