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

Weakness classification (CWE)

References

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.