Back to feed
41Track*

Vitest: Arbitrary file can be read and executed when Vitest UI server is listening

vitest-dev vitest · CVE-2026-47429
0 news outlets0 CERTs and agencies0 research labs

Assessment: Track*

SSVC decision points: exploitation poc, automatable yes, technical impact total, deployment low.

What is it?

Vitest is a testing framework powered by Vite. Prior to 3.2.5 and 4.1.0, the Vitest UI/API server on Windows used isFileServingAllowed incorrectly for /__vitest_attachment__, allowing \\?\\..\\ path traversal to read files outside the project; exposed API write and rerun features such as saveTestFile and rerun could also allow arbitrary script execution. This issue is fixed in versions 3.2.5 and 4.1.0.

Evidence

Official warnings1National CERTs, government cyber security agencies and the vendor’s own advisories

Exploitation

  • Exploit code published (not verified by us)
  • Exploited in the wild (confirmed by a source)
  • Listed as known exploited (CISA KEV)
CVSS
9.8
EPSS
–
First seen
13 Jul 2026
Status
confirmed

All vitest-dev vulnerabilities