Skip to content
OpenAdvisories
High · 8.2 Public exploit CVE-2026-53571 EUVD-2026-38303GHSA-fx2h-pf6j-xcff

Vite: `server.fs.deny` bypass on Windows alternate paths

Published Jun 22, 2026 · Updated Jun 22, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
vitejs vite >= 8.0.0, < 8.0.16, >= 7.0.0, < 7.3.5, < 6.4.3 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling nextcloud-server-33 33.0.6-r2 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • TazmiDev/CVE-2026-53571 ★ 1 · Jul 9, 2026

    CVE-2026-53571 `server.fs.deny` bypass on Windows alternate paths PoC.

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm vite >= 8.0.0, < 8.0.16 8.0.16 GHSA-fx2h-pf6j-xcff
npm vite >= 7.0.0, < 7.3.5 7.3.5 GHSA-fx2h-pf6j-xcff
npm vite < 6.4.3 6.4.3 GHSA-fx2h-pf6j-xcff
npm vite-plus < 0.1.24 0.1.24 GHSA-fx2h-pf6j-xcff

References