CVE-2025-62522: vite allows server.fs.deny bypass via backslash on Windows
Affects viteSource GCVE Database
Not known to be exploited · public detection template (Nuclei) · CVSS 6.0 Medium : upgrade to 7.1.11 when convenient.
Data as of 13 Nov 2026, 21:06 UTC
- Patch
- Available – fixed in 7.1.11
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 20 Oct 2025
Detectable: evidence found.
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.
What to do
Upgrade vite to 7.1.11.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewvitepkg:brew/viteOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in Vite version 7.1.11 that fixes this bypass issue. Users running affected versions (>=3.0.0 <7.1.11) on Windows with the dev server exposed to the network should upgrade to 7.1.11 or later. No other mitigation is indicated by the vendor advisory.
Description
Vite versions from 3.0.0 up to but not including 7.1.11 have a vulnerability where files denied by the server.fs.deny configuration can be accessed if the URL ends with a backslash (\) on Windows. This affects development servers explicitly exposed to the network and running on Windows. The issue arises because fs.readFile treats a path with a trailing backslash as the file without it, bypassing deny patterns. A fix is available in version 7.1.11.