CVE-2026-118662
MEDIUM 6.9CVSS 4.0Vite: `server.fs.deny` bypassed with queries
Vite is a frontend tooling framework for JavaScript. From 6.4.4 until 6.4.5, the Vite development server can evaluate server.fs.deny before stripping loader query parameters such as ?raw, ?import&raw, or ?import&url&inline. When the development server is exposed to the network and a sensitive file is inside server.fs.allow but matched by server.fs.deny, an unauthenticated attacker can append one of these queries and retrieve the denied file. This issue is fixed in version 6.4.5.
- Published
- 28 Oct 2026
- Last modified
- 3 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-180CWE-284
- Also known as
- GHSA-8g5g-mxqh-grgj
- Sources
- NVDJSONOSV GHSA-8g5g-mxqh-grgjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.9 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | vite | >= 6.4.4, < 6.4.5 | 6.4.5 |
References
- https://github.com/vitejs/vite/commit/91e40d7bf9777057bbd31c3eb036a54c9465697e · WEB
- https://github.com/vitejs/vite/pull/22160 · WEB
- https://github.com/vitejs/vite/pull/23855 · WEB
- https://github.com/vitejs/vite/releases/tag/v6.4.5 · WEB
- https://github.com/vitejs/vite/security/advisories/GHSA-8g5g-mxqh-grgj · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-118662 · ADVISORY
- https://github.com/vitejs/vite · PACKAGE
History
- 25 Nov 2026 21:23 UTC · NVD: first stored (published 28 Oct 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 29 Oct 2026)