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

Advisory record · `GHSA-rq7h-c2jc-7f22`

- **Identifiers:** `GHSA-rq7h-c2jc-7f22` · `CVE-2026-112946`
- **State:** Confirmed
- **Severity:** CVSS 6.3 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-22](https://cwe.mitre.org/data/definitions/22.html) · [CWE-284](https://cwe.mitre.org/data/definitions/284.html)
- **Tags:** [Path traversal](https://agentprime.io/advisories/tag/path-traversal.md) · [Broken access control](https://agentprime.io/advisories/tag/access-control.md)
- **Published:** 21 Oct 2026
- **Updated:** 21 Oct 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 21 Oct 2026, 16:47 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `vite` (npm): affected `>=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`; fixed in `8.3.3`, `8.2.4`, `8.1.6`, `7.3.7`, `6.4.4`
- `vite-plus` (npm): affected `<1.1.0`; fixed in `1.1.0`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.3 Medium, CVSS 4.0: `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`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0085, the 58th percentile, on 6 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 13:33 UTC: First seen by agentprime
- 31 Oct 2026, 13:33 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-rq7h-c2jc-7f22)

## Sources

- [GitHub Advisory Database: GHSA-rq7h-c2jc-7f22](https://github.com/advisories/GHSA-rq7h-c2jc-7f22)
- [OSV: GHSA-rq7h-c2jc-7f22](https://osv.dev/vulnerability/GHSA-rq7h-c2jc-7f22)
- <https://github.com/vitejs/vite/security/advisories/GHSA-rq7h-c2jc-7f22>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-112946>
- <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://github.com/vitejs/vite>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-rq7h-c2jc-7f22>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-rq7h-c2jc-7f22/>. Everything for agents: <https://agentprime.io/llms.txt>.
