Medium severity · published Jul 14, 2026
CVE-2026-47429
Vitest: Arbitrary file can be read and executed when Vitest UI server is listening
5.9
CVSS
0.9%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.9% · higher than 59% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
VI
vitest · vitest-dev
< 3.2.5; >= 4.0.0, < 4.1.0 · source: vendor, NVD
Affected product
VI
vitest
vitest-dev
More from vitest
9.8
CVE-2026-53633
Vitest: Exposed Browser Mode API Can Proxy CDP and Overwrite Config Files, Leading to RCE
9.6
CVE-2026-47428
Vitest browser mode serves unsanitized otelCarrier query parameter as inline script
9.4
CVE-2026-73653
Vitest: Browser Mode provider commands bypass the file-access permission gate
8.8
CVE-2025-24964
Vitest is a testing framework powered by Vite
7.5
CVE-2025-24963
Vitest is a testing framework powered by Vite