CVE-2026-118662 Vite: `server.fs.deny` bypassed with queries
MediumCVSS 6.9
EPSS 0.30%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm vite(npm) | = 6.4.4; >= 6.4.4, < 6.4.5 | 6.4.5 | Fixed |
| vitejs vite | = >= 6.4.4, < 6.4.5 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| vitejs vite | = >= 6.4.4, < 6.4.5 | No fix listed |
| npm vite(npm) | = 6.4.4 | No fix listed |
| npm vite(npm) | >= 6.4.4, < 6.4.5 | 6.4.5 |
References
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2565427 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/vitejs/vite/commit/91e40d7bf9777057bbd31c3eb036a54c9465697e patch
- https://github.com/vitejs/vite/pull/22160 patch
- https://github.com/vitejs/vite/pull/23855 patch
- https://github.com/vitejs/vite/releases/tag/v6.4.5
- https://github.com/vitejs/vite/security/advisories/GHSA-8g5g-mxqh-grgj vendor-advisory
- github.com
- github.com product
- ENISA EUVD EUVD-2026-112469 third-party-advisory