8.2

CVE-2026-39363: Vite Affected by Arbitrary File Read via Vite Dev Server WebSocket

Modified
AliasesCGA-339j-5hpp-qcg8CGA-4mxr-738r-737vCGA-pg55-w8qq-hvw6
Published 07-04-2026Last modified 25-08-2026

Vulnerability summary

CVE-2026-39363 is a high (CVSS 8.2) vulnerability in vitejs vite. EPSS estimates a 3.40% chance of exploitation in the next 30 days, higher than 88.8% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Prioritisepublic exploit

Public exploit (GitHub, Date unknown)

Source freshness unavailable

How is this decided?
CVSS score
8.2/10
010
High · v4.0 (CVE.org)
EPSS score
3.40%
0%100%
Low · +0.78 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1github

Advisory lineage

Upstream 0 · Downstream 2 · Related 1

Timeline

  1. 07-04-2026
    PublishedVulnerability first disclosed.
  2. 25-08-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 5 sources · 2 versions

EPSS trend

Probability

3.40%

Chance of exploitation in the next 30 days

Percentile

89%

Versus all other CVEs

30-day change

Increase +0.78 pp

From 2.62% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

1 found
  • githubUnverified

    Vite

    Maturity: poc

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard35 products
  • commercial-gitlab-rails-ee-19.1< 19.1.7-r3
  • commercial-gitlab-rails-ee-19.2< 19.2.7-r1
  • commercial-gitlab-rails-ee-19.3< 19.3.3-r1
  • commercial-gitlab-rails-ee-19.4< 19.4.1-r1
  • commercial-gitlab-rails-ee-fips-19.1All versions (No fix recorded) | < 19.1.9-r0
Wolfi4 products
  • langfuse-3-compat< 3.225.7-r6
  • langfuse-3-worker< 3.179.1-r3
  • vite< 8.0.11-r0
  • vitess-23< 23.0.3-r11
Vitejs2 products
  • vite≥ 8.0.0, < 8.0.5 | ≥ 7.0.0, < 7.3.2 | ≥ 6.0.0, < 6.4.2 | ≥ 6.0.0, ≤ 6.4.1 | ≥ 7.0.0, ≤ 7.3.1 | ≥ 8.0.0, ≤ 8.0.4
  • vite-plus< 0.1.16
Npm1 product
  • vite≥ 8.0.0, < 8.0.5 | ≥ 7.0.0, < 7.3.2 | ≥ 6.0.0, < 6.4.2
Voidzero1 product

5 vendors · 43 products

References

16 links
Show all 16 references