CVE-2026-53571: Vite - Information Disclosure
- Cve: CVE-2026-53571
- Name: Vite - Information Disclosure
- 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.
- Impact: Attackers can access sensitive files like .env on Windows, leading to information disclosure.
- Remediation: Update to versions 8.0.16, 7.3.5, or 6.4.3 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.00577
- Epss percentile: 0.4845
- Assignee: [email protected]
- Published at: 2026-06-22T18:16:44Z
- Age in days: 155
- Modified at: 2026-10-25T23:10:00Z
- Patch available: yes
- Public exploits total: 2
- References total: 1
- Products total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-53571
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/vitejs/vite/security/advisories/GHSA-fx2h-pf6j-xcff | nvd | 2026-06-22 |
| https://github.com/TazmiDev/CVE-2026-53571 | poc-in-github | 2026-07-09 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/vitejs/vite/security/advisories/GHSA-fx2h-pf6j-xcff | nvd | Exploit, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| vitejs:vite | >= 8.0.0, < 8.0.16; >= 7.0.0, < 7.3.5; < 6.4.3 | yes | nvd | /v1/products/vitejs/vite |
| voidzero:vite+ | < 0.1.24 | yes | nvd | /v1/products/voidzero/vite+ |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| vitejs/vite | package, security_advisory | yes | /v1/repositories/vitejs/vite |
Index
- Repositories: 488
- Repositories high signal: 11
- Packages: 2
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2026-06-22
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts