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

Status: published. Published: 2026-10-28. Updated: 2026-11-02.

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.

## Remediation

- fix: vite (npm): OSV reports a fixed version 6.4.5. Check the advisory for supported release branches. (source: OSV GHSA-8g5g-mxqh-grgj) — https://github.com/advisories/GHSA-8g5g-mxqh-grgj

## Affected products and versions

- vitejs / vite: >= 6.4.4, < 6.4.5 (affected). Source: CNA: GitHub_M
-  / vite (vite): 6.4.4 (affected, npm); ≥ 6.4.4; < 6.4.5 (affected, semver); OSV events: introduced 6.4.4; fixed 6.4.5. Source: OSV GHSA-8g5g-mxqh-grgj

## Severity and prioritization

- 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; source: CNA: GitHub_M

- CISA KEV: No listing in collected sources

- EPSS: 0.29% as of 2026-11-02; percentile 22.14%

- SSVC: exploitation none; automatable yes; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-180, CWE-284

## 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-grgj (CNA: GitHub_M; x_refsource_CONFIRM)

- https://github.com/vitejs/vite/pull/22160 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/vitejs/vite/pull/23855 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/vitejs/vite/commit/91e40d7bf9777057bbd31c3eb036a54c9465697e (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/vitejs/vite/releases/tag/v6.4.5 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/advisories/GHSA-8g5g-mxqh-grgj (OSV / GitHub Security Advisories; advisory)

- https://osv.dev/vulnerability/GHSA-8g5g-mxqh-grgj (OSV / GitHub Security Advisories; osv)

## Provenance

- CNA: GitHub_M: https://www.cve.org/CVERecord?id=CVE-2026-118662; retrieved 2026-11-03; source updated 2026-11-02

- OSV / GitHub Security Advisories: https://osv.dev/vulnerability/GHSA-8g5g-mxqh-grgj; retrieved 2026-11-03; source updated 2026-10-29

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-118662; retrieved 2026-11-03; source updated Not reported

Revision: 59c57a0b258a2cc2c7312cdeabddc0b2c5098b4235b910cc97e673d7c6f8f762

Canonical: https://y2.dev/cve/CVE-2026-118662

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.