CVE-2026-47429

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.

Severity
CRITICAL
CVSS v3
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H · source cna
Exploit chance (EPSS)
1.028%
chance of exploitation in the next 30 days
higher than 64.2% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 3
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationpoc
Automatableyes
Technical impacttotal
Scored2026-07-21

Timeline

  1. 2026-06-01GitHub advisory published (GHSA-5xrq-8626-4rwp)43 days before publication
  2. 2026-07-14Published by the CNA19:28 UTC
  3. 2026-07-21CISA SSVC decision recorded7 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

GitHub advisory GHSA-5xrq-8626-4rwp, affected packages:

PackageVulnerable versionsFixed in
npm vitestbefore 3.2.63.2.6
npm vitestfrom 4.0.0 before 4.1.04.1.0

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
vitest.dev vitestbefore 3.2.5fixed in 3.2.5from 4.0.0 before 4.1.0fixed in 4.1.03.2.54.1.0

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources