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 ../ 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.

Vulnerability class: Path Traversal (Directory Traversal)

Published · last modified .

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.

EPSS exploit prediction

EPSS: 0.010 (61.6th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 62nd percentile — 61.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-39365: held from 0.009 to 0.010.

EPSS over last 30 days · oldest: 0.009 · newest: 0.010 · change: +0.001

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.