CVE-2026-118662
published medium CVSS 4.0 · 6.9Vite: `server.fs.deny` bypassed with queries
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| vitejs | — | vite>= 6.4.4, < 6.4.5 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| vitejs | vite | >= 6.4.4, < 6.4.5 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-180 CWE-180: Incorrect Behavior Order: Validate Before Canonicalize
- CWE-284 CWE-284: Improper Access Control
References
5Provider assertions
2GitHub_M · cna
Vite: `server.fs.deny` bypassed with queries
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 52c90b8030a8801ade7db2cf61da2594e0ccb38530538732dc6204af8f30ecc2
- Ingested
- 03 Nov 2026, 00:10:16 UTC
- Source record
- Official CVE record