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.
Exploitability Profile
Triage Priority
CVSS v3.1
Authoritative NIST NVD score · 2 sources compared below
None Observed
No active abuse flagged
Available
1 PoC signals · 4 repos
Confirmed
6 patch mentions · 8 advisories
Stable
Peak 4 on Jun 5, 2026
10mentions
Across 6 tracked days
Operational SSVC remediation guidance paired with multi-source scoring and CWE mappings.
Recommended SOC / VM Action
Verify version impact across your CPE inventory and schedule remediation within the next planned patch window.
| Authority | Version | Score | Vector String |
|---|---|---|---|
NISTNIST NVD | v3.1 | 5.9MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
CNAGitHub | v3.1 | 9.8CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
10 total mentions across 6 observed days · Peak 4 on Jun 5, 2026
Deduplicated GitHub PoCs, vendor advisories, NVD references, and researcher links.
Normalized NVD configurations scoped by vendor, product, version, and platform.
Affected Vendors
Affected Products
| Part | Vendor | Product | Version | CPE 2.3 URI |
|---|---|---|---|---|
| App | Vitest.dev | Vitestnode.js | All versions | cpe:2.3:a:vitest.dev:vitest:*:*:*:*:*:node.js:*:* |