CVE-2026-39364
High
Description
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.
SeverityHigh
CVSS7.5
Exploit probability—
Product
Vite
PublishedApr 7, 2026
First seenApr 7, 2026
Weakness typeCWE-180CWE-180CWE-284Improper access control
How to fix
Update
- vite8.0.5, 7.3.2 or later
Vendor advisories
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| vitejs vite | 7.0.0 ≤ v ≤ 7.3.1, 8.0.0 ≤ v ≤ 8.0.4 | — |
| voidzero vite\+ | v ≤ 0.1.15 | — |
| vitenpm | 8.0.0 ≤ v < 8.0.5, 7.1.0 ≤ v < 7.3.2 | 8.0.5, 7.3.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.