CVE-2026-39365

Vite has a Path Traversal in Optimized Deps `.map` Handling

MEDIUM
5.3
CVSS Score
Published: April 7, 2026 at 07:13 PM UTC
Updated: July 24, 2026 at 09:20 PM UTC
2 products affected across 2 vendorsViteVite+

Using vite by vitejs?

Get instant alerts when new vulnerabilities affect vite - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.3
Exploit prediction
EPSS 0.9%
SSVC
PoC

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 0.1.16v < 6.4.2v < 7.3.2v < 8.0.56.0.0 ≤ v ≤ 6.4.17.0.0 ≤ v ≤ 7.3.18.0.0 ≤ v ≤ 8.0.4
Affected range stops below 0.1.16, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.4.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.3.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.0.5, so it looks safe — our inference, not a vendor statement
v ≤ 0.1.15

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (1)

x_refsource_CONFIRMExploitVendor Advisory
Source: cverecord
https://github.com/vitejs/vite/security/advisories/GHSA-4w7w-66w2-5vf9

SSVC — Action Prioritization

SSVCPoCAutomatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-22

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card