GHSA-4w7w-66w2-5vf9 · Severity: medium · Ecosystem: npm — Vite Vulnerable to Path Traversal in Optimized Deps `.map` Handling
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.
Conclusion & alert: CVE-2026-39365 is rated Exploit Available (59/100): CVSS Medium severity, with medium exploitation likelihood (EPSS 0.91%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 1.46% | 0.91% | -0.54% |
| 2 | 2026-06-05 | 1.97% | 1.46% | -0.51% |
| 3 | 2026-06-03 | — | 1.97% | — |
Full EPSS history (10 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.3 | 4.0 | MEDIUM |
|
— | — | [email protected] |
| 5.3 | 3.1 | MEDIUM |
|
3.9 | 1.4 | [email protected] |
GHSA-4w7w-66w2-5vf9 · Severity: medium · Ecosystem: npm — Vite Vulnerable to Path Traversal in Optimized Deps `.map` Handling
| vendor | priority | summary | link |
|---|---|---|---|
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2026-39365 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| vitejs | vite | >= 6.0.0, <= 6.4.1 | cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* |
| vitejs | vite | >= 7.0.0, <= 7.3.1 | cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* |
| vitejs | vite | >= 8.0.0, <= 8.0.4 | cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:* |
| voidzero | vite\+ | <= 0.1.15 | cpe:2.3:a:voidzero:vite\+:*:*:*:*:*:node.js:*:* |
| URL | Tags |
|---|---|
| https://github.com/vitejs/vite/security/advisories/GHSA-4w7w-66w2-5vf9 | Exploit Vendor Advisory |