CVE-2026-39365: Vite is a frontend tooling framework for JavaScript
CVE-2026-39365 is a medium-severity flaw (CVSS 5.3) affecting vite, vite\+. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 vulnerabil
Why this priority
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.3 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.9% (top 40%) |
| CISA exploited list | No |
| Weakness | CWE-22 |
| Published | 2026-04-07 |
| Last modified | 2026-07-24 |
Last updated 2026-07-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Nuclei scan template: Vite Dev Server - Path Traversal in Optimized Deps .map Handling
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-39365?
vite: upgrade to newer than 8.0.4; vite\+: upgrade to newer than 0.1.15. Exact commands for each OS are on this page.
Is CVE-2026-39365 being exploited?
CVE-2026-39365 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-39365 affect?
CVE-2026-39365 affects vite, vite\+. Severity is medium (CVSS 5.3). 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
How urgent is CVE-2026-39365?
Priority 44/100. Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2026-53571 HIGH 7.5 UPGRADE UPGRADE Vite is a frontend tooling framework for JavaScript
- CVE-2026-39363 HIGH 7.5 UPGRADE UPGRADE Vite is a frontend tooling framework for JavaScript
- CVE-2026-39364 HIGH 7.5 UPGRADE UPGRADE Vite is a frontend tooling framework for JavaScript