9.8

CVE-2026-47429: vitest-dev vitest Path Traversal

CVSS: 9.8v3.1CriticalAnalyzed
AliasesCGA-jwg2-2h8j-9f8jCGA-xcv4-wxmm-qmprGHSA-5xrq-8626-4rwp
Published 14-07-2026Last modified 21-07-2026

Vulnerability summary

CVE-2026-47429 is a critical (CVSS 9.8) Path Traversal vulnerability in vitest-dev vitest. EPSS estimates a 0.88% chance of exploitation in the next 30 days, higher than 58.3% of scored vulnerabilities. 1 public exploit is recorded.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)
EPSS score
0.88%
0%100%
Low · -0.05 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 14-07-2026
    PublishedVulnerability first disclosed.
  2. 21-07-2026
    Last 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

EPSS trend

Probability

0.88%

Chance of exploitation in the next 30 days

Percentile

58%

Versus all other CVEs

30-day change

-0.05 pp

From 0.92% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.88%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

1 found
  • githubUnverified

    Vitest

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Chainguard20 products
  • commercial-gitlab-rails-ee-fips-19.1All versions (No fix recorded)
  • 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
Show all 16 references