Public vulnerability disclosure

CVE-2026-118662

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

publishedCWE-180CWE-284

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.

Technical severity6.9 mediumCVSS 4.0 · CNA: GitHub_M
Published2026-10-28Source updated 2026-11-02
Collected2026-11-033 attributed sources

Fixes and workarounds

Fix

vite (npm): OSV reports a fixed version 6.4.5. Check the advisory for supported release branches.

Source: OSV GHSA-8g5g-mxqh-grgj

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority
vite
vitejs
>= 6.4.4, < 6.4.5 (affected) CNA: GitHub_M
vite

vite
npm
6.4.4 (affected, npm)
≥ 6.4.4; < 6.4.5 (affected, semver); OSV events: introduced 6.4.4; fixed 6.4.5
Source events (semver)
[
  {
    "introduced": "6.4.4"
  },
  {
    "fixed": "6.4.5"
  }
]

Other versions: unaffected
OSV GHSA-8g5g-mxqh-grgj

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
4.0 / 6.9
medium
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:N/SA:NCNA: GitHub_M

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide