PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-112946 vitejs CVE debrief

The CVE-2026-112946 vulnerability affects Vite projects on non-Windows machines with explicitly exposed dev servers. When project import paths match absolute system paths, files outside `server.fs.allow` can be served. Defenders should verify exposure, review server configuration, and update to a fixed Vite version if affected. This issue has a significant impact on the security posture of Vite projects, as it could lead to sensitive file exposure and unintended serving of host system files.

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

Who should care

Defenders managing Vite projects, especially those using non-Windows machines and exposing the dev server to the network, should assess their exposure and verify if imported files could match host system paths.

Why it matters

Defenders should prioritize verifying exposure for Vite projects using non-Windows machines, especially those with explicitly exposed dev servers, and assess if imported files may match absolute host paths.

  • Sensitive file exposure: Contents of files outside server.fs.allow could be returned to the browser.
  • Path matching: Project imports could unintentionally serve host system files.
  • Network exposure: Explicitly exposed Vite dev servers on non-Windows machines are vulnerable.
  • Configuration review: Server configuration and file import patterns require review.

Technical summary

The Vite development server can serve files outside the server.fs.allow setting when a project's import paths match absolute system paths on non-Windows machines. This occurs when the dev server is explicitly exposed to the network, and the imported file's root-relative browser URL matches an absolute path of a readable file on the host. The sensitive file must not be matched by server.fs.deny, and the dev server must not be running on Windows. Defenders should prioritize verifying exposure for Vite projects using non-Windows machines, especially those with explicitly exposed dev servers.

Defensive priority

Defenders should prioritize verifying exposure for Vite projects using non-Windows machines, especially those with explicitly exposed dev servers, and assess if imported files may match absolute host paths.

Recommended defensive actions

  • Verify if your Vite project imports files in a way that could match absolute paths on the host system.
  • Check if your Vite dev server is exposed to the network and if server.fs.allow and server.fs.deny are properly configured.
  • Update to a fixed version of Vite if your project is affected.
  • Review compensating controls for exposed systems while remediation is scheduled and verified.
  • 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.

Evidence notes

The source corpus provides details on conditions for exploitation, including exposure of the Vite dev server to the network, specific file import patterns, and server configuration. The CVE record was published on 2026-10-21T16:47:42.000Z and has not been modified since then. There are no known exploit details, but defenders should prioritize verifying exposure for Vite projects using non-Windows machines, especially those with explicitly exposed dev servers.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-112946 CVE Program record

    Publisher, destination, and source semantics verified

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

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

  • CVE-2026-112946 NVD vulnerability detail

    Publisher, destination, and source semantics verified

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

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

Supplemental references

  • Vite: Files outside `server.fs.allow` could be served when project paths match system paths on n

    Unverified legacy reference

    URL: https://storage.googleapis.com/osv-vulnerabilities/npm/GHSA-rq7h-c2jc-7f22.json

    osv_dev

  • Source reference

    Unverified legacy reference

    URL: https://github.com/vitejs/vite/security/advisories/GHSA-rq7h-c2jc-7f22

    Supplemental source

  • Source reference

    Unverified legacy reference

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

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/vitejs/vite/commit/170b92791421bcd484f7325936d989a82d6bd4aa

    Supplemental source

  • Source reference

    Unverified legacy reference

    URL: https://github.com/vitejs/vite/commit/45c0e3392a298626955a0ab93a8e51232daac721

    Supplemental source

  • Source reference

    Unverified legacy reference

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

    Supplemental source

  • Source reference

    Unverified legacy reference

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

    Supplemental source

  • Source reference

    Unverified legacy reference

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

    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.