Vulnerability Description
Vite is a frontend tooling framework for JavaScript. From 6.0.0 to before 6.4.2, 7.3.2, and 8.0.5, the dev server’s handling of .map requests for optimized dependencies resolves file paths and calls readFile without restricting ../ segments in the URL. As a result, it is possible to bypass the server.fs.strict allow list and retrieve .map files located outside the project root, provided they can be parsed as valid source map JSON. This vulnerability is fixed in 6.4.2, 7.3.2, and 8.0.5.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Vitejs | Vite | >= 6.0.0, <= 6.4.1 |
| Voidzero | Vite\+ | <= 0.1.15 |
Related Weaknesses (CWE)
References
- https://github.com/vitejs/vite/security/advisories/GHSA-4w7w-66w2-5vf9ExploitVendor Advisory
FAQ
What is CVE-2026-39365?
CVE-2026-39365 is a vulnerability with a CVSS score of 5.3 (MEDIUM). Vite is a frontend tooling framework for JavaScript. From 6.0.0 to before 6.4.2, 7.3.2, and 8.0.5, the dev server’s handling of .map requests for optimized dependencies resolves file paths and calls r...
How severe is CVE-2026-39365?
CVE-2026-39365 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-39365?
Check the references section above for vendor advisories and patch information. Affected products include: Vitejs Vite, Voidzero Vite\+.