CVE-2026-47429

CRITICAL CVSS 3.1: 5.9 EPSS 0.92%
Updated Aug 06, 2026
Vitest-Dev
Parameter Value
CVSS 5.9 (CRITICAL)
Affected Versions 4.0.0 — 4.1.0
Fixed In 3.2.5
Type CWE-22 (Path Traversal)
Vendor Vitest-Dev
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 2

Configuration From (including) Up to (excluding)
Vitest.Dev Vitest
cpe:2.3:a:vitest.dev:vitest:*:*:*:*:*:node.js:*:*
3.2.5
Vitest.Dev Vitest
cpe:2.3:a:vitest.dev:vitest:*:*:*:*:*:node.js:*:*
4.0.0 4.1.0