Vite: Files outside `server.fs.allow` could be served when project paths match system paths on non-Windows machine
Affects viteSource GCVE Database
Not known to be exploited · CVSS 6.3 Medium : upgrade to 8.3.3 when convenient.
Data as of 13 Nov 2026, 21:06 UTC
- Patch
- Available – fixed in 8.3.3
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 20 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
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.3.3.
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.3.3 or later, where this vulnerability is fixed. If upgrading is not immediately possible, avoid exposing the Vite dev server to the network (do not use --host or server.host options) and ensure that server.fs.deny is configured to block sensitive files. Note that this vulnerability does not affect Windows systems.
Description
A vulnerability in Vite versions from 2.5.1 up to but not including 8.3.3 allows files outside the configured server.fs.allow paths to be served by the development server on non-Windows systems. This occurs when a project imports a file path that matches an absolute path on the host system, potentially exposing sensitive host files to the browser if the dev server is exposed to the network.
References
- github.com/vitejs/vite/security/advisories/GHSA-rq7h-c2jc-7f22 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-112946 (opens in a new tab)
- github.com/vitejs/vite/pull/23656 (opens in a new tab)
- github.com/vitejs/vite/commit/170b92791421bcd484f7325936d989a82d6bd4aa (opens in a new tab)
- github.com/vitejs/vite/commit/45c0e3392a298626955a0ab93a8e51232daac721 (opens in a new tab)
- github.com/vitejs/vite/commit/c3e06f92e969952466b4e2f5801e85e1e00cd905 (opens in a new tab)
- github.com/vitejs/vite/commit/e570d8d016096b5f8f6f09808376ca6cf73f27d0 (opens in a new tab)
- github.com/vitejs/vite/commit/f0d76c7da13d5e794807b82f0b86c1931a8438e3 (opens in a new tab)
- github.com/vitejs/vite (opens in a new tab)