Vulnerability · Published Jun 22, 2026 · Assigned by GitHub_M

CVE-2026-53571Vite: `server.fs.deny` bypass on Windows alternate paths

High 8.2

In plain English

A high-severity path traversal in vite from vitejs. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.2High
Exploit odds (30 days)0.6%top 52.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

Official description

Vite is a frontend tooling framework for JavaScript. Prior to 8.0.16, 7.3.5, and 6.4.3, the contents of files that are specified by server.fs.deny can be returned to the browser on Windows. Vite’s dev server denies direct access to sensitive files through server.fs.deny, including entries such as .env, .env.*, and *.{crt,pem}. However, on Windows, the deny logic does not correctly normalize NTFS ADS path forms before access checks are applied. Because of this, requests such as /.env::$DATA?raw are treated as allowed paths, while Windows resolves them to the original file's default data stream. Similar to that, Windows allows accessing a file using a different name with the 8.3 short name compatibility feature. Vite did not reject accessing files via them. This vulnerability is fixed in 8.0.16, 7.3.5, and 6.4.3.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmvite8.0.16GHSA-fx2h-pf6j-xcff
npmvite7.3.5GHSA-fx2h-pf6j-xcff
npmvite6.4.3GHSA-fx2h-pf6j-xcff
npmvite-plus0.1.24GHSA-fx2h-pf6j-xcff

Affected products (as reported)

VendorProductVersions
vitejs vite >= 8.0.0, < 8.0.16>= 7.0.0, < 7.3.5< 6.4.3

Weakness: CWE-22, CWE-200 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

References