CVE-2026-39363: Vite Affected by Arbitrary File Read via Vite Dev Server WebSocket
vitejs · vite
Fixed in 6.4.2 · Affected: vitejs before 6.4.2 · Exploitation: check available, not yet exploited
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 89% of scored CVEs
DescriptionCVE.org
Vite is a frontend tooling framework for JavaScript. From 6.0.0 to before 6.4.2, 7.3.2, and 8.0.5, if it is possible to connect to the Vite dev server’s WebSocket without an Origin header, an attacker can invoke fetchModule via the custom WebSocket event vite:invoke and combine file://... with ?raw (or ?inline) to retrieve the contents of arbitrary files on the server as a JavaScript string (e.g., export default "..."). The access control enforced in the HTTP request path (such as server.fs.allow) is not applied to this WebSocket-based execution path. This vulnerability is fixed in 6.4.2, 7.3.2, and 8.0.5.
Affected products2
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- vitejs · vite>= 8.0.0, < 8.0.5; >= 7.0.0, < 7.3.2; >= 6.0.0, < 6.4.2
- vitejs · vite-plus< 0.1.16
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Check available, not yet exploited. A public nuclei template can confirm it on a system you are authorised to test.
- CISA KEV
- Not listed
- Public check
- Vite Dev Server - Arbitrary File Read · nuclei template in projectdiscovery/nuclei-templates
- Vendor
- vitejs
- Published
- April 2026
CoverageNo articles yet
No CyberSIXT article names CVE-2026-39363 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-200cwe.mitre.org
- Vendor advisoryaccess.redhat.com
- Vendor advisoryaccess.redhat.com
- Vendor advisoryaccess.redhat.com
- Vendor advisoryaccess.redhat.com
- github.com/vitejs/vite/security/advisories/GHSA-p9ff-h696-f583github.com
- access.redhat.com/security/cve/CVE-2026-39363access.redhat.com
- Issue trackerbugzilla.redhat.com
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39363.security.access.redhat.com