# CVE-2026-112946: Vite: Files outside \`server.fs.allow\` could be served when project paths match system paths on non-Windows machine

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-10-20 · Modified: 2026-10-20
- Aliases: GHSA-rq7h-c2jc-7f22, CGA-42mr-37wr-7g3m, CGA-fh98-g87w-6cxh, CGA-h48f-9h7g-g328, CGA-vp6f-xhvq-w26p, CGA-43mf-9rxc-7hpx, CGA-4m75-mmv2-84rc, CGA-67mq-vcwq-c74j, CGA-74gr-q34m-h6mw, CGA-fv8f-fqwr-763j, CGA-gj4f-2qh4-89hw, CGA-h6jf-vv7g-fmw8, CGA-m7cj-m5qh-5p48, CGA-mp86-3crc-75q3, CGA-vc78-mx4p-3wcq, CGA-w6fq-6h47-8pr4, CGA-w75g-m556-p2g7, CGA-wq4m-9p25-qq76, CGA-wv3r-x66h-pj5j, CGA-x26f-j2x2-3m5g, CGA-x5x3-vh57-7hgr, CGA-x864-3vcf-7m2j, CGA-2p6r-6q3v-6xj3, CGA-34gj-jq57-xvxr, CGA-374p-wxp5-5fmv, CGA-426x-564x-rpcm, CGA-74h5-8qcr-6383, CGA-g27p-xf4q-w826, CGA-gxrr-jm93-x8p3, CGA-jcmj-89jm-8w4j, CGA-q2f2-qx5r-p2g6, CGA-qh5q-cgvp-hgq3, CGA-v9h7-532c-wx7r, CGA-vgj5-89rr-rxqh, CGA-wvfg-3m2x-9f6f, UBUNTU-CVE-2026-112946, CGA-2vxm-6gx2-35p5, CGA-cj65-f6g4-q3xx, CGA-h2cw-wp3q-9g55, CGA-p88x-qh9m-7vr3
- Record: https://cvemate.com/vulnerability/CVE-2026-112946 · JSON: https://cvemate.com/vulnerability/CVE-2026-112946/json

## Description

```text
Vite is a frontend tooling framework for JavaScript. Prior to 6.4.4, 7.3.7, 8.1.6, 8.2.4, and 8.3.3, import analysis can record a root-relative browser URL in safeModulePaths instead of the cleaned resolved module identifier. On a network-accessible, non-Windows development server, an imported project file whose URL matches an absolute host path can authorize a later raw-filesystem request for that host file, provided server.fs.deny does not block it. The request can disclose the matching file outside the project root, but it does not allow arbitrary path traversal because the host path must correspond to a project-relative URL authorized by the application graph. This issue is fixed in versions 6.4.4, 7.3.7, 8.1.6, 8.2.4, and 8.3.3.
```

## Signals

- CVSS: 6.3 medium (v4.0, CVE.org) CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
- EPSS: 0.852%, percentile 59.522%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 21)

- chainguard gitlab-rails-ce-18.10 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.11 (Chainguard): All versions (No fix recorded) \| \< 18.11.13-r0
- chainguard gitlab-rails-ce-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.9 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.0 (Chainguard): All versions (No fix recorded) \| \< 19.0.10-r0
- chainguard gitlab-rails-ce-19.1 (Chainguard): All versions (No fix recorded) \| \< 19.1.9-r0
- chainguard gitlab-rails-ce-19.5 (Chainguard): All versions (No fix recorded) \| \< 19.5.1-r1
- chainguard gitlab-rails-ce-fips-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-19.2 (Chainguard): All versions (No fix recorded) \| \< 19.2.9-r1
- chainguard kubeflow-pipelines-frontend (Chainguard): All versions (No fix recorded) \| \< 2.17.2-r16
- chainguard langfuse-4-worker (Chainguard): All versions (No fix recorded) \| \< 4.66.0-r1
- chainguard langfuse-fips-4-worker (Chainguard): All versions (No fix recorded) \| \< 4.68.0-r0
- chainguard nextcloud-server-32 (Chainguard): All versions (No fix recorded)
- chainguard nextcloud-server-34 (Chainguard): All versions (No fix recorded) \| \< 34.0.5-r1
- chainguard nextcloud-server-35 (Chainguard): All versions (No fix recorded) \| \< 35.0.0-r8
- wolfi kubeflow-pipelines-frontend (Wolfi): All versions (No fix recorded) \| \< 2.17.2-r16
- ubuntu vite (Ubuntu): All versions (No fix recorded)
- Npm vite (Npm): ≥ 8.3.0, \< 8.3.3 \| ≥ 8.2.0, \< 8.2.4 \| ≥ 8.0.0, \< 8.1.6 \| ≥ 7.0.0, \< 7.3.7 \| \< 6.4.4
- Npm vite-plus (Npm): \< 1.1.0
- vitejs vite: ≥ 8.3.0, \< 8.3.3 \| ≥ 8.2.0, \< 8.2.4 \| ≥ 8.0.0, \< 8.1.6 \| ≥ 7.0.0, \< 7.3.7 \| \< 6.4.4

## References

- <https://github.com/vitejs/vite/security/advisories/GHSA-rq7h-c2jc-7f22>
- <https://github.com/vitejs/vite/pull/23656>
- <https://github.com/vitejs/vite/commit/170b92791421bcd484f7325936d989a82d6bd4aa>
- <https://github.com/vitejs/vite/commit/45c0e3392a298626955a0ab93a8e51232daac721>
- <https://github.com/vitejs/vite/commit/c3e06f92e969952466b4e2f5801e85e1e00cd905>
- <https://github.com/vitejs/vite/commit/e570d8d016096b5f8f6f09808376ca6cf73f27d0>
- <https://github.com/vitejs/vite/commit/f0d76c7da13d5e794807b82f0b86c1931a8438e3>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-112946>
- <https://github.com/vitejs/vite>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112946.json>
- <https://ubuntu.com/security/CVE-2026-112946>
- <https://www.cve.org/CVERecord?id=CVE-2026-112946>
- <https://github.com/cveproject/cvelistv5/tree/main/cves/2026/112xxx/cve-2026-112946.json>
- <https://github.com/vitejs/vite/security/advisories/ghsa-rq7h-c2jc-7f22>
- <https://nvd.nist.gov/vuln/detail/cve-2026-112946>
- <https://advisory.echohq.com/cve/cve-2026-112946>

---

Data as of 2026-12-05T13:45:21.101Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
