Skip to content
OpenAdvisories
Medium · 6.9 CVE-2026-118662 EUVD-2026-112469GHSA-8g5g-mxqh-grgj

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

Published Oct 28, 2026 · Updated Nov 2, 2026 · Assigned by 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.

Affected products

VendorProductAffectedFixed
vitejs vite >= 6.4.4, < 6.4.5 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm vite >= 6.4.4, < 6.4.5 6.4.5 GHSA-8g5g-mxqh-grgj

References