CVE-2026-39364: Vite · `server.fs.deny` bypassed with queries
Affects viteSource GCVE Database
Not known to be exploited · public detection template (Nuclei) · CVSS 8.2 High : upgrade to 8.0.5 soon.
Data as of 13 Nov 2026, 21:04 UTC
- Patch
- Available – fixed in 8.0.5
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 7 Apr 2026
Detectable: evidence found.
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.
What to do
Upgrade vite to 8.0.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewvitepkg:brew/viteOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Vite to version 8.0.5 or later where this vulnerability is fixed. Until then, avoid exposing the Vite dev server to the network (do not use --host or server.host to bind publicly) and ensure sensitive files are not located in directories allowed by server.fs.allow. The vendor has provided an official fix in version 8.0.5.
Description
A vulnerability in Vite dev server allows bypassing the server.fs.deny file access restrictions by appending certain query parameters to requests. This can expose sensitive files such as .env or certificate files to the browser if the server is explicitly exposed to the network and the files reside in allowed directories. The issue affects Vite versions from 7.1.0 up to but not including 8.0.5 and has a high severity CVSS score of 8.2.
References
- github.com/vitejs/vite/security/advisories/GHSA-v2wj-q39q-566r (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-39364 (opens in a new tab)
- github.com/vitejs/vite/pull/22160 (opens in a new tab)
- github.com/vitejs/vite/commit/a9a3df299378d9cbc5f069e3536a369f8188c8ff (opens in a new tab)
- github.com/vitejs/vite (opens in a new tab)
- github.com/vitejs/vite/releases/tag/v7.3.2 (opens in a new tab)
- github.com/vitejs/vite/releases/tag/v8.0.5 (opens in a new tab)