Skip to main content
VulnerabilityPublished

CVE-2026-73653: vitest · Path Traversal

Affects vitestSource CVE Database V5

0
Compare

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

CVSS 3.1 base score
9.4Critical
How severe the flaw is on the 0–10 CVSS scale.
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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
vitest-devvitestAffected
  • >=5.0.0-beta.1 <5.0.0-beta.6
Fixed in
  • 5.0.0-beta.6
vitest-devvitestAffected
  • >=4.0.0 <4.1.10
Fixed in
  • 4.1.10
vitest-devvitestAffected
  • <3.2.7
Fixed in
  • 3.2.7
npmvitest-dev/vitestpkg:npm/vitest-dev/vitestOther threatsAffected
  • <3.2.7
  • <4.1.10
Fixed in
  • 3.2.7
  • 4.1.10

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

Community reviews

Loading reviews…