Skip to main content
VulnerabilityPublished Updated

CVE-2026-39363: Vite Vulnerable to Arbitrary File Read via Vite Dev Server WebSocket

Affects viteSource GCVE Database

0
Compare
Authoritative record:CVE-2026-39363· High 8.2

Not known to be exploited · public detection template (Nuclei) · CVSS 8.2 High : upgrade to 8.0.5 soon.

Data as of 13 Nov 2026, 21:05 UTC

CVSS 4.0 base score
8.2High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 8.0.5
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Apr 2026

  2. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  3. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  4. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.

What to do

Upgrade vite to 8.0.5.

Affected software

ProductAffectedFixed in
Homebrewvitepkg:brew/viteOther threatsAffected
  • >=6.0.0 <8.0.5
Fixed in
  • 8.0.5

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available in Vite version 8.0.5 that fixes this vulnerability. Users should upgrade affected versions (>=6.0.0 <8.0.5) to 8.0.5 or later. Alternatively, ensure the Vite dev server is not exposed to the network or disable the WebSocket feature by setting server.ws to false to mitigate the risk. The vendor advisory confirms the fix is available and should be applied.

Description

Vite versions from 6.0.0 up to but not including 8.0.5 contain a vulnerability in the dev server's WebSocket interface that allows arbitrary file read. This occurs because the server.fs check is not enforced on the fetchModule method accessible via WebSocket, enabling an attacker to retrieve arbitrary files if the dev server is exposed to the network and WebSocket is enabled. The vulnerability is fixed in version 8.0.5.

References

Community reviews

Loading reviews…