THREAT OPS › Threat News › [GHSA] GHSA-rq7h-c2jc-7f22 (medium) — Vite: Files outside `server.fs.allow` could be served when project paths match system paths on non-Windows machine
[GHSA] GHSA-rq7h-c2jc-7f22 (medium) — Vite: Files outside `server.fs.allow` could be served when project paths match system paths on non-Windows machine
GHSA-rq7h-c2jc-7f22 Severity: medium CVE: CVE-2026-112946
Vite: Files outside `server.fs.allow` could be served when project paths match system paths on non-Windows machine
### 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 `<path-to-project-root>/etc/
Indicators of compromise
- CVE-2026-112946cve
- https://vite.dev/config/server-options#server-hosturl
- https://vite.dev/config/server-options#server-fs-denyurl
- http://127.0.0.1:5173/@fs/etc/hostnameurl
Original source: https://github.com/advisories/GHSA-rq7h-c2jc-7f22