CVE-2026-53571
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.
How to fix
- vitejs vite6.4.3, 7.3.5, 8.0.16 or later
- voidzero vite\+0.1.24 or later
- vite8.0.16, 7.3.5, 6.4.3 or later
- vite-plus0.1.24 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| vitejs vite | v < 6.4.3, 7.0.0 ≤ v < 7.3.5, 8.0.0 ≤ v < 8.0.16 | 6.4.3, 7.3.5, 8.0.16 |
| voidzero vite\+ | v < 0.1.24 | 0.1.24 |
| vitenpm | 8.0.0 ≤ v < 8.0.16, 7.0.0 ≤ v < 7.3.5, v < 6.4.3 | 8.0.16, 7.3.5, 6.4.3 |
| vite-plusnpm | v < 0.1.24 | 0.1.24 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.