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 :
Aug. 6, 2026, 6:25 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | CRITICAL | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update Vitest to version 3.2.5 or later.
- Update Vitest to version 4.1.0 or later.
Public PoC/Exploit Available at Github
CVE-2026-47429 has a 2 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-47429.
| URL | Resource |
|---|---|
| https://github.com/vitest-dev/vitest/commit/20e00ef7808de6d330c5e2fda530f686e08f1c8d | Patch |
| https://github.com/vitest-dev/vitest/commit/af88b1f5d82844a4761ea9a977156c98e2b14ca8 | Patch |
| https://github.com/vitest-dev/vitest/pull/10445 | Exploit Issue Tracking Patch |
| https://github.com/vitest-dev/vitest/pull/9350 | Exploit Issue Tracking Patch |
| https://github.com/vitest-dev/vitest/releases/tag/v3.2.5 | Release Notes |
| https://github.com/vitest-dev/vitest/releases/tag/v4.1.0 | Release Notes |
| https://github.com/vitest-dev/vitest/security/advisories/GHSA-5xrq-8626-4rwp | Exploit Mitigation Vendor Advisory |
| https://github.com/vitest-dev/vitest/security/advisories/GHSA-5xrq-8626-4rwp | Exploit Mitigation Vendor Advisory |
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:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-47429
weaknesses.
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).
Tracking Vulnerabilities That Appear to be Credited to the Anthropic Research Team
📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.
security cve exploit poc vulnerability
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.
-
Initial Analysis by [email protected]
Aug. 06, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N Added CPE Configuration OR *cpe:2.3:a:vitest.dev:vitest:*:*:*:*:*:node.js:*:* versions up to (excluding) 3.2.5 *cpe:2.3:a:vitest.dev:vitest:*:*:*:*:*:node.js:*:* versions from (including) 4.0.0 up to (excluding) 4.1.0 Added Reference Type GitHub, Inc.: https://github.com/vitest-dev/vitest/commit/20e00ef7808de6d330c5e2fda530f686e08f1c8d Types: Patch Added Reference Type GitHub, Inc.: https://github.com/vitest-dev/vitest/commit/af88b1f5d82844a4761ea9a977156c98e2b14ca8 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/vitest-dev/vitest/pull/10445 Types: Exploit, Issue Tracking, Patch Added Reference Type GitHub, Inc.: https://github.com/vitest-dev/vitest/pull/9350 Types: Exploit, Issue Tracking, Patch Added Reference Type GitHub, Inc.: https://github.com/vitest-dev/vitest/releases/tag/v3.2.5 Types: Release Notes Added Reference Type GitHub, Inc.: https://github.com/vitest-dev/vitest/releases/tag/v4.1.0 Types: Release Notes Added Reference Type GitHub, Inc.: https://github.com/vitest-dev/vitest/security/advisories/GHSA-5xrq-8626-4rwp Types: Exploit, Mitigation, Vendor Advisory Added Reference Type CISA-ADP: https://github.com/vitest-dev/vitest/security/advisories/GHSA-5xrq-8626-4rwp Types: Exploit, Mitigation, Vendor Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jul. 21, 2026
Action Type Old Value New Value Added Reference https://github.com/vitest-dev/vitest/security/advisories/GHSA-5xrq-8626-4rwp Added SSVC {'id': 'CVE-2026-47429', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'yes'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-07-21T15:02:06.439415Z'} -
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