← Vulnerability feed

Vulnerability record · CVE-2026-39363 · published 7 April 2026

CVE-2026-39363: Vitejs vite information exposure vulnerability

Vitejs · Vite

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.

8.2 CVSS 4.0 High EPSS 2.6% · top 15.1% CWE-200 · Information exposureCWE-306 · Missing authentication for critical function
8.2CVSS 4.0 base score
2.6%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
9References, 2 tagged exploit
25 Aug 2026Last modified by NVD

Description

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.

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/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:

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-39363 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.5CVE-2025-31125Vite dev server improper access control exposes arbitrary filesVite's dev server fails to restrict file access when a request uses the ?inline&import or ?raw?import query patterns, allowing content of files that …KEVEPSS 65%analysed8.4CVE-2026-41211Voidzero vite\+ path traversal vulnerabilityVite+ is a unified toolchain and entry point for web development. Prior to version 0.1.17, `downloadPackageManager()` accepts an untrusted `version` …EPSS 0.43%8.2CVE-2026-53571Vitejs vite path traversal vulnerabilityVite is a frontend tooling framework for JavaScript. Prior to 8.0.16, 7.3.5, and 6.4.3, the contents of files that are specified by server.fs.deny ca…EPSS 0.58%8.2CVE-2026-39364Vitejs vite improper access control vulnerabilityVite is a frontend tooling framework for JavaScript. From 7.1.0 to before 7.3.2 and 8.0.5, on the Vite dev server, files that should be blocked by se…EPSS 1.5%7.5CVE-2025-30208Vite dev server @fs allow-list bypass exposes arbitrary filesVite versions before 6.2.3, 6.1.2, 6.0.12, 5.4.15 and 4.5.10 mishandle trailing separators in query string regexes, so appending ?raw?? or ?import&ra…EPSS 75%analysed7.5CVE-2024-23331Vitejs vite information exposure vulnerabilityVite is a frontend tooling framework for javascript. The Vite dev server option `server.fs.deny` can be bypassed on case-insensitive file systems usi…EPSS 0.78%7.5CVE-2023-34092Vitejs vite information exposure vulnerabilityVite provides frontend tooling. Prior to versions 2.9.16, 3.2.7, 4.0.5, 4.1.5, 4.2.3, and 4.3.9, Vite Server Options (`server.fs.deny`) can be bypass…EPSS 3.1%6.5CVE-2025-24010Vitejs vite origin validation error vulnerabilityVite is a frontend tooling framework for javascript. Vite allowed any websites to send any requests to the development server and read the response d…EPSS 0.29%

Source: NIST National Vulnerability Database (record CVE-2026-39363), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.