Skip to content
Fencer Vulns
medium 5.3

CVE-2026-39365 json

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

published 2026-04-06 7 mo ago modified 2026-09-10 1 mo ago also GHSA-4w7w-66w2-5vf9 , EUVD-2026-19875

cvss
5.3
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.9%
EPSS 0.9% chance of exploitation in 30 days, percentile 60%
public exploits
0
none known, plus a Nuclei check

Summary

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.

Patch / fix

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-39365 updated cvss 5.3

vite: Vite: Information disclosure via path traversal in dev server's .map request handling

  • Red Hat Advanced Cluster Security 4 rhacs-eng/release-main Red Hat Ansible Automation Platform 2 automation-gateway, automation-controller, automation-platform-ui, automation-eda-controller, redhat-user-workloads/ansible-tenant/ansible-automation-platform-26/gateway-rhel9, redhat-user-workloads/ansible-tenant/ansible-automation-platform-26/mcp-server-rhel9 Red Hat Build of Keycloak vite Red Hat Build of Podman Desktop podman-desktop-macos-1-0, podman-desktop-windows-1-0 Red Hat Build of Podman Desktop - Tech Preview redhat-user-workloads/red-hat-desktop-tenant/rhel-ext, redhat-user-workloads/red-hat-desktop-tenant/bootc-ext, redhat-user-workloads/red-hat-desktop-tenant/openshift-local-ext Red Hat JBoss Enterprise Application Platform 8 vite
    +2 more products
    Red Hat JBoss Enterprise Application Platform Expansion Pack vite Red Hat OpenShift Container Platform 4 redhat-user-workloads/ocp-art-tenant/art-images
    affected: workaround, no fix available “Fix deferred”

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
total
Assessed
7 mo ago

Exploit prediction

0.91% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • Nuclei template Vite Dev Server - Path Traversal in Optimized Deps .map Handling nuclei detection template
  • github.com https://github.com/vitejs/vite/security/advisories/GHSA-4w7w-66w2-5vf9 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 4.0 6.3 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
CNA 4.0 6.3 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
NVD 3.1 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected packages

ecosystem package affected fixed in
npm vite
>=8.0.0, <8.0.5
>=7.0.0, <7.3.2
<6.4.2
8.0.5
7.3.2
6.4.2

Affected products

  • vitejs vite
  • vitejs vite-plus

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.