CVE-2026-47429: vitest-dev vitest Path Traversal
Vulnerability summary
CVE-2026-47429 is a critical (CVSS 9.8) Path Traversal vulnerability in vitest-dev vitest. EPSS estimates a 0.88% chance of exploitation in the next 30 days, higher than 58.3% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 1 · Related 1Timeline
- 14-07-2026PublishedVulnerability first disclosed.
- 21-07-2026Last modifiedVulnerability information updated.
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 metrics
5 scores · 5 sources · 1 version- OSV · WolfiEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · NpmEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVDNIST5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NDiffers
EPSS trend
Probability
0.88%
Chance of exploitation in the next 30 days
Percentile
58%
Versus all other CVEs
30-day change
-0.05 pp
From 0.92% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundVitest
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Chainguard20 products
- commercial-gitlab-rails-ee-fips-19.1All versions (No fix recorded)
- gitlab-rails-ce-18.10All versions (No fix recorded)
- gitlab-rails-ce-18.11< 18.11.6-r7
- gitlab-rails-ce-18.7All versions (No fix recorded)
- gitlab-rails-ce-18.8All versions (No fix recorded)
Npm1 product
- vitest≥ 4.0.0, < 4.1.0 | < 3.2.6
Vitest-dev1 product
- vitest< 3.2.5 | ≥ 4.0.0, < 4.1.0
Vitest.dev1 product
- vitest< 3.2.5 | ≥ 4.0.0, < 4.1.0
Wolfi1 product
- vitess-23< 23.0.4-r8
5 vendors · 24 products
References
16 links- github.com/vitest-dev/vitest/security/advisories/GHSA-5xrq-8626-4rwpX Refsource CONFIRMAdvisoryWEBExploitMitigationVendor Advisory
- github.com/vitest-dev/vitest/commit/20e00ef7808de6d330c5e2fda530f686e08f1c8dX Refsource MISCFIXWEBPatch
- github.com/vitest-dev/vitest/commit/af88b1f5d82844a4761ea9a977156c98e2b14ca8X Refsource MISCFIXWEBPatch
- github.com/vitest-dev/vitestPACKAGE