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
- npm vite 6.4.2, 7.3.2, 8.0.5
- github.com/vitejs/vite@79f002f commit
- github.com/vitejs/vite#22161 pull request
- github.com/vitejs/vite/releases/tag/v6.4.2 release
- github.com/vitejs/vite/releases/tag/v7.3.2 release
- github.com/vitejs/vite/releases/tag/v8.0.5 release
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 viteaffected: workaround, no fix available “Fix deferred”
+2 more productsfewer
Red Hat JBoss Enterprise Application Platform Expansion Pack vite Red Hat OpenShift Container Platform 4 redhat-user-workloads/ocp-art-tenant/art-images
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
References
-
github.com
/vitejs/vite/pull/22161
web
-
github.com
/vitejs/vite/commit/79f002f2286c03c88c7b74c511c7f9fc6dc46694
web
-
github.com
/vitejs/vite/security/advisories/GHSA-4w7w-66w2-5vf9
web, exploit, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-39365
advisory
-
github.com
/vitejs/vite
package
-
github.com
/vitejs/vite/releases/tag/v6.4.2
web
-
github.com
/vitejs/vite/releases/tag/v7.3.2
web
-
github.com
/vitejs/vite/releases/tag/v8.0.5
web
Sources
- CVE List CVE-2026-39365
- GitHub Advisory GHSA-4w7w-66w2-5vf9
- NVD CVE-2026-39365
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.