Skip to main content
← All vulnerabilities
CVE-2025-62522GHSA-93M4-6634-74Q7

vite allows server.fs.deny bypass via backslash on Windows

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.1.11, 7.0.8, 6.4.1, 5.4.21, 5.0.0, and 2 more
1 Nuclei template
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • vitejs vite

    From 7.1.0 · fixed in 7.1.11; From 7.0.0 · fixed in 7.0.8; From 6.0.0 · fixed in 6.4.1; From 5.2.6 · fixed in 5.4.21; From 4.5.3 · fixed in 5.0.0; From 3.2.9 · fixed in 4.0.0; From 2.9.18 · fixed in 3.0.0

  • vitenpm

    From 7.1.0 · fixed in 7.1.11

  • vitenpm

    From 7.0.0 · fixed in 7.0.8

  • vitenpm

    From 6.0.0 · fixed in 6.4.1

  • vitenpm

    From 2.9.18 · fixed in 5.4.21

  • vitenpm

    From 3.2.9 · fixed in 5.4.21

  • vitenpm

    From 4.5.3 · fixed in 5.4.21

  • vitenpm

    From 5.2.6 · fixed in 5.4.21

References 3

GitHub · vitejs/vite

GitHub · projectdiscovery/nuclei-templates