Skip to main content
VulnerabilityPublished Updated

CVE-2026-39365: Vite Vulnerable to Path Traversal

Affects viteSource GCVE Database

0
Compare
Authoritative record:CVE-2026-39365· Medium 6.3

Not known to be exploited · public detection template (Nuclei) · CVSS 6.3 Medium : upgrade to 8.0.5 when convenient.

Data as of 13 Nov 2026, 21:06 UTC

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 8.0.5
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Apr 2026

  2. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  3. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  4. Observed by OffSeq Mirage: evidence found.

    3 exposed hosts found; no attack traffic recorded

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), OffSeq Mirage (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.

What to do

Upgrade vite to 8.0.5.

Affected software

ProductAffectedFixed in
Homebrewvitepkg:brew/viteOther threatsAffected
  • >=2.5.1 <8.0.5
Fixed in
  • 8.0.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Vite to version 8.0.5 or later, where this path traversal vulnerability is fixed. Until patched, avoid exposing the Vite dev server to the network using the --host or server.host options if sensitive .map files exist. The vendor advisory confirms a patch is available and remediation is to update to the fixed version.

Description

Vite versions from 2.5.1 up to but not including 8.0.5 have a path traversal vulnerability in the dev server's handling of optimized dependency source map (.map) files. This flaw allows an attacker to retrieve .map files located outside the project root by exploiting insufficient path sanitization, bypassing the server's filesystem strict allow list. The vulnerability only affects applications that expose the Vite dev server to the network and have sensitive .map files with predictable paths. A fix is available in version 8.0.5.

References

Community reviews

Loading reviews…