CVE-2026-39363

Vite Affected by Arbitrary File Read via Vite Dev Server WebSocket

HIGH
7.5
CVSS Score
Published: April 7, 2026 at 07:10 PM UTC
Updated: August 25, 2026 at 01:40 PM UTC
6 products affected across 3 vendorsViteVite+OpenShift Container Platform

Using vite by vitejs?

Get instant alerts when new vulnerabilities affect vite - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 3%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 0.1.16v < 6.4.2v < 7.3.2v < 8.0.56.0.0 ≤ v ≤ 6.4.17.0.0 ≤ v ≤ 7.3.18.0.0 ≤ v ≤ 8.0.4
Affected range stops below 0.1.16, so it looks safe — our inference, not a vendor statement
Affected range stops below 6.4.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 7.3.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.0.5, so it looks safe — our inference, not a vendor statement
v ≤ 0.1.15
Vendor states this is fixed in 0:2.5.20260422-3.el8ap (unaffected)
Vendor states this is fixed in 0:2.5.20260422-3.el9ap (unaffected)
Vendor states this is fixed in 0:2.6.9-1.el9ap (unaffected)
Vendor states this is fixed in 1779783248 (unaffected)
Vendor states this is fixed in 1787218409 (unaffected)
Vendor states this is fixed in 2 (unaffected)
All versions

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (8)

x_refsource_CONFIRMExploitVendor Advisory
Source: cverecord
https://github.com/vitejs/vite/security/advisories/GHSA-p9ff-h696-f583
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/errata/RHSA-2026:24761
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/errata/RHSA-2026:24762
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/errata/RHSA-2026:24866
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/security/cve/CVE-2026-39363
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://bugzilla.redhat.com/show_bug.cgi?id=2456179
Source: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
https://access.redhat.com/errata/RHSA-2026:59153

SSVC — Action Prioritization

SSVCPoCAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.5HIGHredhat-SADP
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-200CWE-306CWE-1220

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card