CVE-2026-73653: vitest · Path Traversal
Affects vitestSource CVE Database V5
Not known to be exploited · CVSS 9.4 Critical · fixed in 5.0.0-beta.6 : patch vitest as a priority.
Data as of 12 Nov 2026, 23:24 UTC
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 56% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.0.0-beta.6, 4.1.10, 3.2.7
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:LExploitation evidence
Disclosed: evidence found.
CVE published 13 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.
What to do
Upgrade vitest to 5.0.0-beta.6, 4.1.10 or 3.2.7; vitest-dev/vitest to 4.1.10 or 3.2.7.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| vitest-devvitest | Affected
| Fixed in
|
| vitest-devvitest | Affected
| Fixed in
|
| vitest-devvitest | Affected
| Fixed in
|
npmvitest-dev/vitestpkg:npm/vitest-dev/vitestOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Vitest to version 3.2.7, 4.1.10, or 5.0.0-beta.6 or later, where this vulnerability is fixed. Until upgraded, restrict access to the Browser Mode API to trusted clients only. No official temporary fixes or workarounds are documented; patching is the recommended remediation.
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.
References
- github.com/vitest-dev/vitest/security/advisories/GHSA-p63j-vcc4-9vmv (opens in a new tab)
- github.com/vitest-dev/vitest/pull/10674 (opens in a new tab)
- github.com/vitest-dev/vitest/pull/10679 (opens in a new tab)
- github.com/vitest-dev/vitest/pull/10680 (opens in a new tab)
- github.com/vitest-dev/vitest/commit/33f96a145ef09ca6a43b4e555eb273e64a87be23 (opens in a new tab)
- github.com/vitest-dev/vitest/commit/5c18dd267ff7f47f24cab2f615a16b37d90feb7f (opens in a new tab)
- github.com/vitest-dev/vitest/commit/b795e36b34969bec50b47a9f29d26f799a6a04fb (opens in a new tab)
- github.com/vitest-dev/vitest/releases/tag/v3.2.7 (opens in a new tab)
- github.com/vitest-dev/vitest/releases/tag/v4.1.10 (opens in a new tab)
- github.com/vitest-dev/vitest/releases/tag/v5.0.0-beta.6 (opens in a new tab)