9.8

CVE-2026-47429: Vitest: Arbitrary file can be read and executed when Vitest UI server is listening

Analyzed
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) vulnerability in vitest-dev vitest. EPSS estimates a 1.03% chance of exploitation in the next 30 days, higher than 64.7% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

CIRCL last checked 05-12-2026

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)
EPSS score
1.03%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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

1.03%

Chance of exploitation in the next 30 days

Percentile

65%

Versus all other CVEs

30-day change

No change 0.00 pp

From 1.03% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Vitest

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

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