PatchSiren cyber security CVE debrief
CVE-2026-47429 vitest-dev CVE debrief
CVE-2026-47429 is a critical vulnerability in Vitest, a testing framework powered by Vite. Prior to versions 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 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. The vulnerability allows for path traversal and arbitrary script execution, which can lead to severe consequences.
- Vendor
- vitest-dev
- Product
- vitest
- CVSS
- CRITICAL 9.8
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-07-14
- Original CVE updated
- 2026-08-06
- Advisory published
- 2026-07-14
- Advisory updated
- 2026-08-06
Who should care
Developers and administrators using Vitest for testing purposes should be aware of this critical vulnerability. The issue allows for path traversal and arbitrary script execution, which can lead to severe consequences. Affected operator, platform, vulnerability-management, and security-team impact should be reviewed.
Technical summary
The vulnerability exists in the Vitest UI/API server on Windows, where the isFileServingAllowed function is used incorrectly for /__vitest_attachment__. This allows an attacker to perform path traversal and read files outside the project. Additionally, exposed API features such as saveTestFile and rerun can be used to execute arbitrary scripts. The issue is fixed in versions 3.2.5 and 4.1.0. Affected product deployments should be identified, and owners should be assigned for follow-up.
Defensive priority
High
Recommended defensive actions
- Update Vitest to version 3.2.5 or 4.1.0
- Restrict access to the Vitest UI/API server
- Monitor for suspicious activity
- Implement additional security measures to prevent path traversal and script execution
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
Evidence notes
The CVE record was published on 2026-07-14T20:17:02.460Z and was last modified on 2026-07-21T16:17:12.920Z. The NVD entry is currently awaiting analysis. There is limited information available about the vulnerability, and defenders should verify the affected scope and severity. The Vitest UI/API server on Windows used isFileServingAllowed incorrectly for /__vitest_attachment__, allowing path traversal to read files outside the project.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-47429 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-47429
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-47429 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-47429
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/vitest-dev/vitest/commit/20e00ef7808de6d330c5e2fda530f686e08f1c8d
-
Source reference
Unverified legacy reference
URL: https://github.com/vitest-dev/vitest/commit/af88b1f5d82844a4761ea9a977156c98e2b14ca8
-
Source reference
Unverified legacy reference
URL: https://github.com/vitest-dev/vitest/pull/10445
-
Source reference
Unverified legacy reference
URL: https://github.com/vitest-dev/vitest/pull/9350
-
Source reference
Unverified legacy reference
URL: https://github.com/vitest-dev/vitest/releases/tag/v3.2.5
-
Source reference
Unverified legacy reference
URL: https://github.com/vitest-dev/vitest/releases/tag/v4.1.0
-
Source reference
Unverified legacy reference
URL: https://github.com/vitest-dev/vitest/security/advisories/GHSA-5xrq-8626-4rwp
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.