Path Traversal in Vitejs Vite
CVE-2026-39365
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 ../ segment…
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.020 (83.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
Affected products
- Vitejs Vite — versions >= 8.0.0, < 8.0.5, >= 7.0.0, < 7.3.2, >= 6.0.0, < 6.4.2
- Vitejs Vite-plus — versions < 0.1.16
- Voidzero Vite\+
Weakness classification (CWE)
References
- https://github.com/vitejs/vite/security/advisories/GHSA-4w7w-66w2-5vf9 (x_refsource_CONFIRM, Exploit, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-39365?
- CVE-2026-39365 is a medium-severity vulnerability in Vitejs Vite, classified under Path Traversal. CVSS score: 5.3/10. Published 2026-04-07.
- How severe is CVE-2026-39365?
- Medium severity. CVSS v3 base score is 5.3 out of 10.