9.8
CRITICAL CVSS 3.1
CVE-2026-47429
Vitest: Arbitrary file can be read and executed when Vitest UI server is listening
Description

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.

INFO

Published Date :

July 14, 2026, 8:17 p.m.

Last Modified :

July 14, 2026, 8:17 p.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2026-47429 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

No affected product recoded yet

CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 CRITICAL [email protected]
Solution
Update Vitest to a version that includes the fix for the path traversal vulnerability.
  • Update Vitest to version 3.2.5 or later.
  • Update Vitest to version 4.1.0 or later.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-47429 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-47429 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-47429 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by [email protected]

    Jul. 14, 2026

    Action Type Old Value New Value
    Added Affected [{'vendor': 'vitest-dev', 'product': 'vitest', 'versions': [{'status': 'affected', 'version': '< 3.2.5'}, {'status': 'affected', 'version': '>= 4.0.0, < 4.1.0'}]}]
    Added Description 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.
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-22
    Added Reference https://github.com/vitest-dev/vitest/commit/20e00ef7808de6d330c5e2fda530f686e08f1c8d
    Added Reference https://github.com/vitest-dev/vitest/commit/af88b1f5d82844a4761ea9a977156c98e2b14ca8
    Added Reference https://github.com/vitest-dev/vitest/pull/10445
    Added Reference https://github.com/vitest-dev/vitest/pull/9350
    Added Reference https://github.com/vitest-dev/vitest/releases/tag/v3.2.5
    Added Reference https://github.com/vitest-dev/vitest/releases/tag/v4.1.0
    Added Reference https://github.com/vitest-dev/vitest/security/advisories/GHSA-5xrq-8626-4rwp
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.