Live threats

All CVEs / Vitejs

CVE-2026-39363Vitejs Vite

High 8.2 No auth needed

Priority
64
CVSS 4.0
8.2
EPSS
—
Auth required
No
Published
Apr 7, 2026
Updated
Aug 25, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-200, CWE-306, CWE-1220
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
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:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Vite.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm vite ≥ 8.0.0 < 8.0.5 8.0.5 npm install vite@8.0.5
npm vite ≥ 7.0.0 < 7.3.2 7.3.2 npm install vite@7.3.2
npm vite ≥ 6.0.0 < 6.4.2 6.4.2 npm install vite@6.4.2

Per OSV / GitHub Advisories (GHSA-p9ff-h696-f583). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
vitejsvite≥ 6.0.0 ≤ 6.4.1
vitejsvite≥ 7.0.0 ≤ 7.3.1
vitejsvite≥ 8.0.0 ≤ 8.0.4
voidzerovite+≤ 0.1.15

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.