Description
The contents of files that are specified by server.fs.deny can be returned to the browser.
Recommendation
Update the vite package to the latest compatible version. Followings are version details:
Affected version(s): **>= 7.1.0, <= 7.3.1 >= 8.0.0, <= 8.0.4** Patched version(s): **7.3.2 8.0.5**
References
Related Issues
- Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query - CVE-2025-31125
- Vite Server Options (server.fs.deny) can be bypassed using double forward-slash (//) - CVE-2023-34092
- Vite's server.fs.deny bypassed with /. for files under project root - CVE-2025-46565
- Vite allows server.fs.deny to be bypassed with .svg or relative paths - CVE-2025-31486
You might also like:
- Tags:
- npm
- vite
Anything's wrong? Let us know Last updated on April 07, 2026


