CVE-2026-118662

GHSA-8g5g-mxqh-grgj · published 28 Oct 2026 · updated 3 Nov 2026

Vite: `server.fs.deny` bypassed with queries

6.9MediumCVSS 6.9EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in vite 6.4.5.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
vitejs>=6.4.4 <6.4.5
npm: vite=6.4.46.4.5

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-118662 severity on Zeptric[![CVE-2026-118662](https://zeptric.io/badge/cve/CVE-2026-118662.svg)](https://zeptric.io/cve/CVE-2026-118662)