Vite has a `server.fs.deny` bypass with queries
58Vexday Risk Score
Patch now. It exploitation observed by VulnCheck and has a working public exploit.
ssvc Actcvss 8.2epss 2.0%
from disclosure to weapon
Published on NVDApr 7
VulnCheck+157d
exploitation probability
2.0%top 20% of all CVEs
observed exploitation
yesVulnCheck
Vite is a frontend tooling framework for JavaScript. From 7.1.0 to before 7.3.2 and 8.0.5, on the Vite dev server, files that should be blocked by server.fs.deny (e.g., .env, *.crt) can be retrieved with HTTP 200 responses when query parameters such as ?raw, ?import&raw, or ?import&url&inline are appended. This vulnerability is fixed in 7.3.2 and 8.0.5.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
References
https://access.redhat.com/errata/RHSA-2026:24866https://access.redhat.com/security/cve/CVE-2026-39364https://bugzilla.redhat.com/show_bug.cgi?id=2456181https://github.com/vitejs/vite/security/advisories/GHSA-v2wj-q39q-566rhttps://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39364.json