# CVE-2026-118662: Vite: `server.fs.deny` bypassed with queries

- Severity: Medium 6.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2026-10-28T20:33:36.440Z
- Modified: 2026-11-03T00:17:17.343Z
- Also known as: GHSA-8g5g-mxqh-grgj
- Weaknesses: CWE-180, CWE-284
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- vitejs vite: >= 6.4.4, < 6.4.5
- vite (npm): from 6.4.4 before 6.4.5

## Every score

- GitHub_M: CVSS:4.0 6.9 Medium `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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/vitejs/vite/security/advisories/GHSA-8g5g-mxqh-grgj> (web)
- <https://github.com/vitejs/vite/pull/22160> (web)
- <https://github.com/vitejs/vite/pull/23855> (web)
- <https://github.com/vitejs/vite/commit/91e40d7bf9777057bbd31c3eb036a54c9465697e> (web)
- <https://github.com/vitejs/vite/releases/tag/v6.4.5> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-118662> (advisory)
- <https://github.com/vitejs/vite> (package)

## Sources

- CVE List: [CVE-2026-118662](https://www.cve.org/CVERecord?id=CVE-2026-118662), CVE Terms of Use, modified 2026-11-02
- GitHub Advisory Database: [GHSA-8g5g-mxqh-grgj](https://github.com/advisories/GHSA-8g5g-mxqh-grgj), CC-BY-4.0, modified 2026-10-29
- NVD: [CVE-2026-118662](https://nvd.nist.gov/vuln/detail/CVE-2026-118662), Public domain, modified 2026-11-03

---

Page: https://cve.day/CVE-2026-118662 · Whole record: https://cve.day/CVE-2026-118662.json · Rebuilt by cve.day 2026-11-25T22:59:47.692Z
