CVE-2026-118662
Vite: `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.
Fixes and workarounds
Fix
vite (npm): OSV reports a fixed version 6.4.5. Check the advisory for supported release branches.
Source: OSV GHSA-8g5g-mxqh-grgjAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| vite vitejs |
>= 6.4.4, < 6.4.5 (affected) | CNA: GitHub_M |
vitevite
npm |
6.4.4 (affected, npm) ≥ 6.4.4; < 6.4.5 (affected, semver); OSV events: introduced 6.4.4; fixed 6.4.5 Source events (semver)
Other versions: unaffected |
OSV GHSA-8g5g-mxqh-grgj |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 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 | CNA: GitHub_M |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://github.com/vitejs/vite/security/advisories/GHSA-8g5g-mxqh-grgjCNA: GitHub_M · x_refsource_CONFIRM
- https://github.com/vitejs/vite/pull/22160CNA: GitHub_M · x_refsource_MISC
- https://github.com/vitejs/vite/pull/23855CNA: GitHub_M · x_refsource_MISC
- https://github.com/vitejs/vite/commit/91e40d7bf9777057bbd31c3eb036a54c9465697eCNA: GitHub_M · x_refsource_MISC
- https://github.com/vitejs/vite/releases/tag/v6.4.5CNA: GitHub_M · x_refsource_MISC
- https://github.com/advisories/GHSA-8g5g-mxqh-grgjOSV / GitHub Security Advisories · advisory
- https://osv.dev/vulnerability/GHSA-8g5g-mxqh-grgjOSV / GitHub Security Advisories · osv
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.