What’s Vulnerable › Vulnerabilities
CVE-2026-53571: Vite: `server.fs.deny` bypass on Windows alternate paths
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-06-22 · updated 2026-10-25
- Weakness: CWE-22
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 products
- vitejs vite: before 6.4.3; from 7.0.0 before 7.3.5; from 8.0.0 before 8.0.16 — fixed in 6.4.3, 7.3.5, 8.0.16
- Voidzero Vite+: before 0.1.24 — fixed in 0.1.24
How to fix
Upgrade to a fixed version: vitejs vite 6.4.3, 7.3.5, 8.0.16; Voidzero Vite+ 0.1.24. Check the vendor advisory for mitigations.
References
- https://github.com/vitejs/vite/security/advisories/GHSA-fx2h-pf6j-xcff
- https://github.com/vitejs/vite/security/advisories/GHSA-fx2h-pf6j-xcff
Get alerted when CVE-2026-53571 or the next vulnerability affects your stack