Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. vite
  4. ›
  5. CVE-2025-62522

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

October 20, 2025 (updated November 10, 2025)

Files denied by server.fs.deny were sent if the URL ended with \ when the dev server is running on Windows.

References

  • github.com/advisories/GHSA-93m4-6634-74q7
  • github.com/vitejs/vite
  • github.com/vitejs/vite/commit/f479cc57c425ed41ceb434fecebd63931b1ed4ed
  • github.com/vitejs/vite/security/advisories/GHSA-93m4-6634-74q7
  • nvd.nist.gov/vuln/detail/CVE-2025-62522

Code Behaviors & Features

Detect and mitigate CVE-2025-62522 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.9.18 before 5.4.21, all versions starting from 3.2.9 before 5.4.21, all versions starting from 4.5.3 before 5.4.21, all versions starting from 5.2.6 before 5.4.21, all versions starting from 6.0.0 before 6.4.1, all versions starting from 7.0.0 before 7.0.8, all versions starting from 7.1.0 before 7.1.11

Fixed versions

  • 7.1.11
  • 7.0.8
  • 6.4.1
  • 5.4.21
  • 5.4.21
  • 5.4.21
  • 5.4.21

Solution

Upgrade to versions 5.4.21, 5.4.21, 5.4.21, 5.4.21, 6.4.1, 7.0.8, 7.1.11 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/vite/CVE-2025-62522.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 17 Nov 2025 00:18:42 +0000.