HarborGuard / CVE
Back to search
HIGHCVE-2026-39364Published Modified CNA GitHub_M

CVE-2026-39364: Vite has a `server.fs.deny` bypass with queries

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.

Metrics

CVSS v4.0
8.2
Severity
HIGH
Fixed in
Affected Products
2
Affected packages
  • vitejs / vite
    >= 8.0.0, < 8.0.5 · >= 7.1.0, < 7.3.2
  • vitejs / vite-plus
    < 0.1.16
CVSS Vector
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