CVE-2026-118662: Vite · `server.fs.deny` bypassed with queries
Affects viteSource GCVE Database
Not known to be exploited · CVSS 6.9 Medium : upgrade to 6.4.5 when convenient.
Data as of 29 Oct 2026, 19:04 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 6.9 |
|---|
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 22% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.4.5
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 28 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 29 Oct 2026.
What to do
Upgrade vite to 6.4.5.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmvite | 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 6.4.5 or later, where the vulnerability is fixed. The vendor has provided an official fix in this release. If upgrading is not immediately possible, avoid exposing the Vite dev server to the network by not using the --host option or server.host configuration. No other mitigations are documented.
Description
A vulnerability in Vite dev server allows bypassing the server.fs.deny file access restrictions via crafted query parameters. This affects applications that expose the Vite dev server to the network and have sensitive files in allowed directories that are supposed to be denied. The issue was fixed in version 6.4.5.
References
- github.com/vitejs/vite/security/advisories/GHSA-8g5g-mxqh-grgj (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-118662 (opens in a new tab)
- github.com/vitejs/vite/pull/22160 (opens in a new tab)
- github.com/vitejs/vite/pull/23855 (opens in a new tab)
- github.com/vitejs/vite/commit/91e40d7bf9777057bbd31c3eb036a54c9465697e (opens in a new tab)
- github.com/vitejs/vite (opens in a new tab)
- github.com/vitejs/vite/releases/tag/v6.4.5 (opens in a new tab)