CVE Catalog

CVE-2026-39365

MediumCVSS 5.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.91%

56th percentile - higher than 56% of all known CVEs

Summary

Vite, a frontend tooling framework for JavaScript, versions 6.0.0 to before 6.4.2, 7.3.2, and 8.0.5, has a vulnerability in handling .map requests for optimized dependencies. The dev server resolves file paths and calls readFile without restricting ../ segments in the URL, allowing bypass of the server.fs.strict allow list and retrieval of .map files outside the project root if they can be parsed as valid source map JSON.

Risk Assessment

An attacker can read .map files outside the project root, which may contain sensitive information such as original source code or mappings, potentially leading to data leakage.

Recommendation

Update Vite to version 6.4.2, 7.3.2, or 8.0.5, which contain the fix.

Original NVD description (English source)

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 data from NVD (NIST) · CISA KEV · EPSS