Vulnerability details
CVE-2026-53571
Vite: `server.fs.deny` bypass on Windows alternate paths
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.
CVSS scores
| Score | Version | Source | Vector |
|---|---|---|---|
| 8.2High | 4.0 | CVEProject cvelistV5 (CNA) (GitHub_M) | 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 |
Affected products
| Vendor | Product | Versions | Source |
|---|---|---|---|
| vitejs | vite | < 6.4.3 | CVEProject cvelistV5 (CNA) |
| vitejs | vite | >= 7.0.0, < 7.3.5 | CVEProject cvelistV5 (CNA) |
| vitejs | vite | >= 8.0.0, < 8.0.16 | CVEProject cvelistV5 (CNA) |
References and advisories
1- https://github.com/vitejs/vite/security/advisories/GHSA-fx2h-pf6j-xcff x_refsource_CONFIRM
Details
- Published
- 2026-06-22
- Last updated
- 2026-06-22
- State
- Published
- Assigner (CNA)
- GitHub_M
Exploit prediction (EPSS)
SSVC assessment (CISA)
- Automatable
- No
- Exploitation
- Proof of concept
- Technical impact
- Partial
Weaknesses (CWE)
- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-200Exposure of Sensitive Information to an Unauthorized Actor