Skip to main content
← All vulnerabilities
CVE-2026-39364GHSA-V2WJ-Q39Q-566R

Vite has a `server.fs.deny` bypass with queries

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.0.5, 7.3.2, 0.1.16
1 Nuclei template
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

Vite is a frontend tooling framework for JavaScript. From 7.1.0 to before 7.3.2 and 8.0.5, on the Vite dev server, files that should be blocked by server.fs.deny (e.g., .env, *.crt) can be retrieved with HTTP 200 responses when query parameters such as ?raw, ?import&raw, or ?import&url&inline are appended. This vulnerability is fixed in 7.3.2 and 8.0.5.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • vitejs vite

    From 8.0.0 · fixed in 8.0.5; From 7.1.0 · fixed in 7.3.2

  • vitejs vite-plus

    fixed in 0.1.16

  • vitenpm

    From 8.0.0 · fixed in 8.0.5

  • vitenpm

    From 7.1.0 · fixed in 7.3.2

References 2

GitHub · vitejs/vite

GitHub · projectdiscovery/nuclei-templates