PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-118662 vitejs CVE debrief

The CVE-2026-118662 vulnerability in Vite allows the contents of files specified by `server.fs.deny` to be returned to the browser when certain query parameters are appended. This issue affects applications that expose the Vite dev server to the network, have sensitive files in allowed directories, and use `server.fs.deny` patterns that match those files. To address this, defenders should verify their Vite configurations and update to version 6.4.5 or later.

Vendor
vitejs
Product
vite
CVSS
MEDIUM 6.9
CISA KEV
Not listed in stored evidence
Original CVE published
2026-10-29
Original CVE updated
2026-10-29
Advisory published
2026-10-29
Advisory updated
2026-10-29

Who should care

Defenders responsible for Vite applications, especially those exposing the dev server to the network, should assess their configurations and update to mitigate this vulnerability. This includes reviewing Vite configurations for `server.fs.deny` and `server.fs.allow` settings, and ensuring that sensitive files are not inadvertently exposed. Additionally, defenders should review compensating controls for exposed systems while remediation is scheduled and

Why it matters

This vulnerability in Vite allows sensitive files to be accessed despite being denied by `server.fs.deny` configurations, posing a risk to applications exposing the dev server to the network.

  • Potential exposure of sensitive files
  • Bypass of security settings through query parameters
  • Risk of unauthorized data access
  • Need for configuration review and update

Technical summary

The Vite dev server is vulnerable to a bypass of the `server.fs.deny` setting when certain query parameters are appended to file requests. This allows sensitive files to be retrieved, potentially exposing confidential data. The vulnerability affects applications that expose the Vite dev server to the network, have sensitive files in allowed directories, and use `server.fs.deny` patterns that match those files. Defenders should prioritize verifying their Vite configurations and update to version 6.4.5 or later to mitigate this vulnerability.

Defensive priority

Defenders should prioritize verifying their Vite configurations, especially for applications exposing the dev server to the network, and update to version 6.4.5 or later to mitigate this vulnerability.

Recommended defensive actions

  • Verify Vite configurations for `server.fs.deny` and `server.fs.allow` settings
  • Update to Vite version 6.4.5 or later
  • Review application configurations for exposed dev servers
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented.
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
  • Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed.

Evidence notes

The evidence for this vulnerability comes from the OSV Dev source item and the CVE Program record. The issue is related to the Vite dev server's handling of file requests and query parameters. Defenders should verify their Vite configurations, especially for applications exposing the dev server to the network, and update to version 6.4.5 or later to mitigate this vulnerability. Evidence is limited, and further verification is required to confirm affected scope and severity.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-118662 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-118662

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-118662 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-118662

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

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

    Unverified legacy reference

    URL: https://storage.googleapis.com/osv-vulnerabilities/npm/GHSA-8g5g-mxqh-grgj.json

    osv_dev

  • Source reference

    Unverified legacy reference

    URL: https://github.com/vitejs/vite/security/advisories/GHSA-8g5g-mxqh-grgj

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/vitejs/vite/pull/22160

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/vitejs/vite/pull/23855

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/vitejs/vite/commit/91e40d7bf9777057bbd31c3eb036a54c9465697e

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/vitejs/vite

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/vitejs/vite/releases/tag/v6.4.5

    Supplemental source

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.