CVE-2026-47429: Vitest: Arbitrary file can be read and executed when Vitest UI server is listening
Vulnerability summary
CVE-2026-47429 is a critical (CVSS 9.8) vulnerability in vitest-dev vitest. EPSS estimates a 1.03% chance of exploitation in the next 30 days, higher than 64.7% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?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
1.03%
Chance of exploitation in the next 30 days
Percentile
65%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.03% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundVitest
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard20 products
- commercial-gitlab-rails-ee-fips-19.1All versions (No fix recorded) | < 19.1.9-r0
- 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