# CVE-2025-62522: vite allows server.fs.deny bypass via backslash on Windows

- Severity: Medium 6.0 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.05%, higher than 65% of CVEs (2026-12-01)
- Published: 2025-10-20T19:54:28.000Z
- Modified: 2026-10-08T22:10:00.563Z
- Also known as: GHSA-93m4-6634-74q7
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- vitejs vite: >= 7.1.0, < 7.1.11; >= 7.0.0, < 7.0.8; >= 6.0.0, < 6.4.1; >= 5.2.6, < 5.4.21; >= 4.5.3, < 5.0.0; >= 3.2.9, < 4.0.0; >= 2.9.18, < 3.0.0
- vite (npm): from 7.1.0 before 7.1.11; from 7.0.0 before 7.0.8; from 6.0.0 before 6.4.1; from 2.9.18 before 5.4.21; from 3.2.9 before 5.4.21; from 4.5.3 before 5.4.21; from 5.2.6 before 5.4.21

## Every score

- GitHub_M: CVSS:4.0 6.0 Medium `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: CVSS:4.0 Medium `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`

## References

- <https://github.com/vitejs/vite/security/advisories/GHSA-93m4-6634-74q7> (web)
- <https://github.com/vitejs/vite/commit/f479cc57c425ed41ceb434fecebd63931b1ed4ed> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-62522> (advisory)
- <https://github.com/vitejs/vite> (package)

## Sources

- CVE List: [CVE-2025-62522](https://www.cve.org/CVERecord?id=CVE-2025-62522), CVE Terms of Use, modified 2025-10-20
- GitHub Advisory Database: [GHSA-93m4-6634-74q7](https://github.com/advisories/GHSA-93m4-6634-74q7), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-62522](https://nvd.nist.gov/vuln/detail/CVE-2025-62522), Public domain, modified 2026-10-08

---

Page: https://cve.day/CVE-2025-62522 · Whole record: https://cve.day/CVE-2025-62522.json · Rebuilt by cve.day 2026-11-25T22:59:06.586Z
