Path Traversal in Vitest-dev Vitest

CVE-2026-47429

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 proj…

Vulnerability class: Path Traversal (Directory Traversal)

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2026-47429?
CVE-2026-47429 is a critical-severity vulnerability in Vitest-dev Vitest, classified under Path Traversal. CVSS score: 9.8/10. Published 2026-07-14.
How severe is CVE-2026-47429?
Critical severity. CVSS v3 base score is 9.8 out of 10.
Is CVE-2026-47429 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.