Vulnerability · Published Oct 28, 2026 · Assigned by GitHub_M

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

Medium 6.9

In plain English

A medium-severity improper access control in vite from vitejs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.9Medium
Exploit odds (30 days)0.3%top 77.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
npmvite6.4.5GHSA-8g5g-mxqh-grgj

Affected products (as reported)

VendorProductVersions
vitejs vite >= 6.4.4, < 6.4.5

Weakness: CWE-180, CWE-284 · Vector: 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

References