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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
cpe:2.3:a:voidzero:vite\+:*:*:*:*:*:node.js:*:*

History

25 Aug 2026, 13:18

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:59153 -

24 Jul 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) Vite es un framework de herramientas de frontend para JavaScript. Desde la versión 6.0.0 hasta antes de las versiones 6.4.2, 7.3.2 y 8.0.5, si es posible conectarse al WebSocket del servidor de desarrollo de Vite sin una cabecera Origin, un atacante puede invocar fetchModule a través del evento WebSocket personalizado vite:invoke y combinar file://... con ?raw (o ?inline) para recuperar el contenido de archivos arbitrarios en el servidor como una cadena de JavaScript (por ejemplo, export default '...'). El control de acceso aplicado en la ruta de solicitud HTTP (como server.fs.allow) no se aplica a esta ruta de ejecución basada en WebSocket. Esta vulnerabilidad se corrige en las versiones 6.4.2, 7.3.2 y 8.0.5.

30 Jun 2026, 03:19

Type Values Removed Values Added
CWE CWE-1220
References
  • () https://access.redhat.com/errata/RHSA-2026:24761 -
  • () https://access.redhat.com/errata/RHSA-2026:24762 -
  • () https://access.redhat.com/errata/RHSA-2026:24866 -
  • () https://access.redhat.com/security/cve/CVE-2026-39363 -
  • () https://bugzilla.redhat.com/show_bug.cgi?id=2456179 -
  • () https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39363.json -

30 Apr 2026, 18:34

Type Values Removed Values Added
CPE cpe:2.3:a:vitejs:vite-plus:*:*:*:*:*:node.js:*:* cpe:2.3:a:voidzero:vite\+:*:*:*:*:*:node.js:*:*
First Time Voidzero vite\+
Voidzero

15 Apr 2026, 20:07

Type Values Removed Values Added
CPE cpe:2.3:a:vitejs:vite-plus:*:*:*:*:*:node.js:*:*
cpe:2.3:a:vitejs:vite:*:*:*:*:*:node.js:*:*
References () https://github.com/vitejs/vite/security/advisories/GHSA-p9ff-h696-f583 - () https://github.com/vitejs/vite/security/advisories/GHSA-p9ff-h696-f583 - Exploit, Vendor Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
First Time Vitejs
Vitejs vite
Vitejs vite-plus

08 Apr 2026, 19:25

Type Values Removed Values Added
References () https://github.com/vitejs/vite/security/advisories/GHSA-p9ff-h696-f583 - () https://github.com/vitejs/vite/security/advisories/GHSA-p9ff-h696-f583 -

07 Apr 2026, 20:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-07 20:16

Updated : 2026-08-25 13:18


NVD link : CVE-2026-39363

Mitre link : CVE-2026-39363

CVE.ORG link : CVE-2026-39363


JSON object : View

Products Affected

voidzero

  • vite\+

vitejs

  • vite
CWE
CWE-200

Exposure of Sensitive Information to an Unauthorized Actor

CWE-306

Missing Authentication for Critical Function

CWE-1220

Insufficient Granularity of Access Control