← Back to CVE List
Vulnerability Intelligence Report
Vite has a Path Traversal in Optimized Deps `.map` Handling

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.

Nuclei Template
CVSS Base Score
6.3
MEDIUM
EPSS Probability:0.91%
Executive Threat Verdict
Evaluating...
Evaluating Threat Landscape...
Assessing known weaponization, exploitation telemetry, and federal advisories.
Attack Surface
—
Authentication
—
Weaponization
—
SSVC Action
—

Weaknesses (CWE)

CWE-22 ↗CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected Products & Versions

Vendor Product Affected Versions
vitejs vite >= 8.0.0, < 8.0.5 (affected), >= 7.0.0, < 7.3.2 (affected), >= 6.0.0, < 6.4.2 (affected)
vitejs vite-plus < 0.1.16 (affected)

References & Technical Advisories

No reference links found.

Threat Intelligence Signals

Nuclei Template
SCANNER AVAILABLE
EPSS Score
0.914%

Identity & Timeline

StatusPUBLISHED
Assigning AuthorityGitHub, Inc. · Vendor · USA
Reserved2026-04-06T21:29:17
Published2026-04-07T19:13:50
Last Updated2026-04-15T14:23:24

LINK COPIED TO CLIPBOARD