Vulnerability Intelligence Report
Vite Affected by Arbitrary File Read via Vite Dev Server WebSocket
CVE-2026-39363
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.
Nuclei Template
Information Disclosure
CVSS Base Score
8.2
HIGH
EPSS Probability:3.32%
Executive Threat Verdict
Evaluating...
Evaluating Threat Landscape...
Assessing known weaponization, exploitation telemetry, and federal advisories.
Attack Surface
—
Authentication
—
Weaponization
—
SSVC Action
—
Weaknesses (CWE)
CWE-200 ↗CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
CWE-306 ↗CWE-306: Missing Authentication for Critical Function
Affected Products & Versions
| Vendor | Product | Affected Versions |
|---|---|---|
| vitejs | vite | >= 8.0.0, < 8.0.5 (affected), >= 7.0.0, < 7.3.2 (affected), >= 6.0.0, < 6.4.2 (affected) |
| vitejs | vite-plus | < 0.1.16 (affected) |
References & Technical Advisories
No reference links found.
Threat Intelligence Signals
Nuclei Template
SCANNER AVAILABLE
EPSS Score
3.319%
GitHub Advisory
Vulnerability Class
Information Disclosure
Identity & Timeline
| Status | PUBLISHED |
| Assigning Authority | GitHub, Inc. · Vendor · USA |
| Reserved | 2026-04-06T21:29:17 |
| Published | 2026-04-07T19:10:44 |
| Last Updated | 2026-08-25T12:05:41 |
Community Chatter & Buzz