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

- 種別: advisory
- 重大度: medium
- 関連技術: nodejs
- CVE: CVE-2026-112946
- 公開日時: 2026-10-21T16:47:42.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-rq7h-c2jc-7f22)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-rq7h-c2jc-7f22

影響: npm:vite >= 8.3.0, <= 8.3.2 → 8.3.3, npm:vite >= 8.2.0, <= 8.2.3 → 8.2.4, npm:vite >= 8.0.0, <= 8.1.5 → 8.1.6, npm:vite >= 7.0.0, <= 7.3.6 → 7.3.7, npm:vite <= 6.4.3 → 6.4.4, npm:vite-plus <= 1.0.0 → 1.1.0
Summary The content of files outside server.fs setting can be returned to the browser if the project imports a file path concatenated with the root. For example, if the project references /etc/hosts, the content of /etc/hosts was possible to be returned. The content of files outside the server.fs.allow option can be returned to the browser when a project imports a file whose root-relative path matches an absolute path on the host. For example, referencing /etc/hosts could make Vite return the h…