Skip to main content
← All vulnerabilities
CVE-2026-118662EUVD-2026-112469GHSA-8G5G-MXQH-GRGJ

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.4.5
None on Exploit-DB, Metasploit or GitHub

Summary

Vite, a frontend build tool for JavaScript, is affected in its development server, where access rules meant to block sensitive files can be bypassed by adding specific query parameters to a request. When the dev server is reachable over a network, an unauthenticated attacker could use this to read files that the configuration was supposed to deny.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. First seen by cve.now

Affected versions

  • vitejs vite

    From 6.4.4 · fixed in 6.4.5

  • vitenpm

    From 6.4.4 · fixed in 6.4.5

References 5

GitHub · vitejs/vite