Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. vite
  4. ›
  5. CVE-2026-118662

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

October 29, 2026

The contents of files that are specified by server.fs.deny can be returned to the browser. This is the same as https://github.com/vitejs/vite/security/advisories/GHSA-v2wj-q39q-566r.

References

  • github.com/advisories/GHSA-8g5g-mxqh-grgj
  • github.com/vitejs/vite/commit/91e40d7bf9777057bbd31c3eb036a54c9465697e
  • github.com/vitejs/vite/pull/22160
  • github.com/vitejs/vite/pull/23855
  • github.com/vitejs/vite/releases/tag/v6.4.5
  • github.com/vitejs/vite/security/advisories/GHSA-8g5g-mxqh-grgj
  • nvd.nist.gov/vuln/detail/CVE-2026-118662

Code Behaviors & Features

Detect and mitigate CVE-2026-118662 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 6.4.4 before 6.4.5

Fixed versions

  • 6.4.5

Solution

Upgrade to version 6.4.5 or above.

Impact 8.6 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-180: Incorrect Behavior Order: Validate Before Canonicalize
  • CWE-284: Improper Access Control

Source file

npm/vite/CVE-2026-118662.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 30 Oct 2026 00:15:47 +0000.