Vulnary
← back to the feed
Critical· 9.8official fix available

CVE-2026-47429

Vitest, a JavaScript testing framework, had a flaw that let attackers read files outside the project on Windows. The bug also allowed running arbitrary scripts through certain API calls. The issue is fixed in newer releases.

publishedJul 14, 2026
last modifiedJul 21, 2026
sourcesNVD
severity · cvss
9.8
critical · how bad it is
exploitation · epss
1%
60th percentile · chance of exploitation in 30 days
(ai-assisted) A model wrote this summary from the official data, so double-check it against the source before you act on it. Read the official advisory →
auto-deletes from the system
counting…on Aug 20, 2026

An official fix is available, so this entry is kept for 30 days and then removed automatically.

01

Who is affected

Vitest versions before 3.2.5 and 4.1.0 on Windows. Developers using Vitest for unit testing.

02

Real-world impact

An attacker could read any file on the system that the user can access, and could run arbitrary code via the test server’s API, potentially compromising the development machine.

03

Why this severity

The CVSS score of 9.8 reflects that the flaw can be exploited without authentication, from any network, and can compromise confidentiality, integrity, and availability of the system.

04

What to do about it

official fix available
recommended steps
  1. 01Upgrade Vitest to version 3.2.5 or later (or 4.1.0 or later).
  2. 02Restart any running Vitest test servers to ensure the new version is in use.

NVD-referenced vendor advisory

05

Timeline

  1. Jul 14, 2026 · 19d ago
    Published
    Disclosed and added to the National Vulnerability Database.
  2. Jul 21, 2026 · 12d ago
    Advisory updated
    The NVD record was last revised.
  3. Jul 21, 2026 · 12d ago
    Official fix available
    A vendor patch or mitigation now exists — see the remediation steps above.
06

How it’s attacked

Attack vectorNetwork (remote)
Attack complexityLow
Privileges requiredNone
User interactionNone needed
ScopeUnchanged
Confidentiality impactHigh
Integrity impactHigh
Availability impactHigh
07

References & advisories

(ai-assisted) A model wrote this summary from the official data, so double-check it against the source before you act on it. Read the official advisory →