Vite
Vite: `server.fs.deny` bypass on Windows alternate paths
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 8.0.0, < 8.0.16
- >= 7.0.0, < 7.3.5
- < 6.4.3
Fixed in 8.0.16, 7.3.5, 6.4.3
Mitigation
Upgrade vite to 8.0.16 or 7.3.5 or 6.4.3 or later.
References
- Vendor advisory github.com/vitejs/vite/security/advisories/GHS…
Timeline
Days relative to CVE publicationFirst public PoC 16 days after publication; not in CISA KEV. First PoC: TazmiDev/CVE-2026-53571 (created 9 Jul 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| TazmiDev/CVE-2026-53571 | 9 Jul 2026 +16 d | 1 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /.env::{var}
- Query
raw=- Ports
- 5173
- Seen in
- 1 repo: TazmiDev/CVE-2026-53571
- Evidence
- TazmiDev/CVE-2026-53571/poc.py:8
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/\.env::[^/?#]*\?(?:.*&)?raw=
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [5173] (msg:"GG PoC-Monitor CVE-2026-53571 vitejs vite exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/.env::"; http.uri; content:"raw="; reference:url,poc.griffinguard.io/cve/CVE-2026-53571; classtype:web-application-attack; sid:9104871; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: vitejs vite exploit attempt (CVE-2026-53571)
id: gg-pocmon-cve-2026-53571-9104871
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-53571. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-53571
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/.env::'
cs-uri-query|contains|all:
- 'raw='
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.53571