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.
Severity (CVSS)
| Base score | 6.9 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | 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 |
| Provided by | CNA |
Weaknesses
- CWE-180 — CWE-180: Incorrect Behavior Order: Validate Before Canonicalize
- CWE-284 — CWE-284: Improper Access Control
Affected products
| Vendor | Product | Versions |
|---|---|---|
| vitejs | vite | >= 6.4.4, < 6.4.5 [affected] |
References
- https://github.com/vitejs/vite/security/advisories/GHSA-8g5g-mxqh-grgj (x_refsource_CONFIRM)
- https://github.com/vitejs/vite/pull/22160 (x_refsource_MISC)
- https://github.com/vitejs/vite/pull/23855 (x_refsource_MISC)
- https://github.com/vitejs/vite/commit/91e40d7bf9777057bbd31c3eb036a54c9465697e (x_refsource_MISC)
- https://github.com/vitejs/vite/releases/tag/v6.4.5 (x_refsource_MISC)
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 29 Oct 2026 07:02 UTC.