CVE-2026-47429Vitest: Arbitrary file can be read and executed when Vitest UI server is listening
- 9.8CriticalCVSS base score
- 1.0%Exploitation in 30 daysEPSS · top 36% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- YesPublic exploitsa reference or SSVC says so
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. A reference of the record is tagged as an exploit. CISA's SSVC rates its exploitation: a proof of concept is public.
Show the exploits1
References tagged exploit1 reference
- https://github.com/vitest-dev/vitest/security/advisories/GHSA-5xrq-8626-4rwp (opens in a new tab)x_refsource_CONFIRMexploit
Timeline
ID reserved
By GitHub_M
- 56 days later
· 56 days later
Published
- 7 days later
· 7 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | Medium5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 1.0% · top 36% of all CVEs (15 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Affected products
- affected < 3.2.5
- affected >= 4.0.0, < 4.1.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
References
References7
- https://github.com/vitest-dev/vitest/security/advisories/GHSA-5xrq-8626-4rwp (opens in a new tab)x_refsource_CONFIRMexploit
- https://github.com/vitest-dev/vitest/pull/10445 (opens in a new tab)x_refsource_MISC
- https://github.com/vitest-dev/vitest/pull/9350 (opens in a new tab)x_refsource_MISC
- https://github.com/vitest-dev/vitest/commit/20e00ef7808de6d330c5e2fda530f686e08f1c8d (opens in a new tab)x_refsource_MISC
- https://github.com/vitest-dev/vitest/commit/af88b1f5d82844a4761ea9a977156c98e2b14ca8 (opens in a new tab)x_refsource_MISC
- https://github.com/vitest-dev/vitest/releases/tag/v3.2.5 (opens in a new tab)x_refsource_MISC
- https://github.com/vitest-dev/vitest/releases/tag/v4.1.0 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-44391 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-5xrq-8626-4rwp (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-47429)Record last updated .