vite allows server.fs.deny bypass via backslash on Windows (vitejs vite)
At a glance
- Source
- NVD
- EPSS
- EPSS 1.05 % Β· percentile 65 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- Affected products
- vitejs Β· vite
- NVD status
- Deferred
Description
Vite is a frontend tooling framework for JavaScript. In versions from 2.9.18 to before 3.0.0, 3.2.9 to before 4.0.0, 4.5.3 to before 5.0.0, 5.2.6 to before 5.4.21, 6.0.0 to before 6.4.1, 7.0.0 to before 7.0.8, and 7.1.0 to before 7.1.11, files denied by server.fs.deny were sent if the URL ended with \ when the dev server is running on Windows. Only apps explicitly exposing the Vite dev server to the network and running the dev server on Windows were affected. This issue has been patched in versions 5.4.21, 6.4.1, 7.0.8, and 7.1.11.
Weaknesses (CWE)
- CWE-22 β Improper Limitation of a Pathname to a Restricted Directory
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 4.0 | MEDIUM 6.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | GitHub_M |
| CVSS 4.0 | MEDIUM 6.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD Β· security-advisories@github.com (Secondary) |
Advisories
- GHSA-93m4-6634-74q7 β vite allows server.fs.deny bypass via backslash on Windows
European references
- ENISA EUVD Β· EUVD-2025-35099
- GCVE Β· GCVE-0-2025-62522
Affected products
| Product | Affected versions |
|---|---|
| vitejs Β· vite | affected : >= 7.1.0, < 7.1.11 affected : >= 7.0.0, < 7.0.8 affected : >= 6.0.0, < 6.4.1 affected : >= 5.2.6, < 5.4.21 affected : >= 4.5.3, < 5.0.0 affected : >= 3.2.9, < 4.0.0 affected : >= 2.9.18, < 3.0.0 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |