Vitejs and Voidzero Vite: Arbitrary File Read (CVE-2026-39636)
Vitejs and Voidzero Vite contain a vulnerability (CVE-2026-39636) in the WebSocket-based fetchModule call that allows unauthenticated attackers to bypass filesystem checks and read arbitrary files by injecting file:// URLs into WebSocket payloads.
CVE search metadata
CVE search record: CVE-2026-39636. Severity: medium. CVSS: 6.5. EPSS: 0.22%. KEV: no. Product: Vite (<= 6.4.1, 7.3.1, 8.0.4), Vite (<= 0.1.15). Brief: Vitejs and Voidzero Vite: Arbitrary File Read (CVE-2026-39636). Brief link: https://feed.craftedsignal.io/briefs/2026-10-vite-arbitrary-file-read/
Triage facts
Revision 1- Applicability
- Vite (<= 6.4.1, 7.3.1, 8.0.4), Vite (<= 0.1.15)
- Evidence
- Unknown
- Severity
- Low
- Action
- Immediate escalation
- Sources
- 2 public sources
- Freshness
- Revision 1Oct 24, 21:31 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- C3Roughly even chance
CVE-2026-39636 is a high-severity vulnerability affecting Vitejs Vite and Voidzero Vite that permits unauthorized reading of arbitrary files from the host system. The vulnerability originates from insufficient validation within the WebSocket-based fetchModule component. Attackers can bypass existing HTTP filesystem security controls by sending a file:// URL within a WebSocket payload. A public proof-of-concept exploit script has been published, targeting WebSocket interfaces often exposed on port 8080.
Impact
Successful exploitation allows unauthenticated remote attackers to read arbitrary files from the filesystem of the server running the affected Vite application, potentially leading to the disclosure of sensitive source code, configuration files, or environment variables.
Recommendation
- Upgrade Vitejs Vite installations to versions beyond 8.0.4.
- Upgrade Voidzero Vite installations to versions beyond 0.1.15.
- Audit infrastructure for Vite development or build servers exposing WebSocket interfaces to untrusted networks, particularly on port 8080.
- Implement network-level access controls to restrict access to the Vite development server interface to authorized internal IP ranges only.
Immediate actions
Patch Vite environments to versions > 8.0.4 (Vitejs) or > 0.1.15 (Voidzero)
Threat Hunt
Identify unauthorized WebSocket connections or abnormal fetchModule activity on internal development servers
Data: Web server access logs, Proxy logs for WebSocket (WSS) traffic
Mitigations
Restrict network access to Vite WebSocket interfaces (default port 8080) to trusted IP segments
CVE-2026-39636