LiveActive security incident?Get immediate response
CVE Record

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

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.

HighCVSS 8.2Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

A reachable Vite development server could disclose arbitrary server files through its WebSocket interface, bypassing normal file-access restrictions. Exposed files may include source code, configuration, credentials, or other sensitive data. Production applications are principally at risk when an affected development server remains accessible to untrusted networks.

Executive priority

Treat publicly or broadly reachable affected development servers as an urgent confidentiality risk and remediate immediately. Internal-only instances should be upgraded promptly after confirming network boundaries. If exposure existed, initiate a focused secret and sensitive-file exposure assessment rather than assuming the version upgrade resolves prior disclosure.

Technical view

Affected Vite WebSocket handling permits unauthenticated module-fetch requests when a connection can be established without an Origin header. This path does not enforce HTTP-side server.fs.allow controls, enabling arbitrary file disclosure. Vite 6.4.2, 7.3.2, and 8.0.5 contain the fix; vite-plus versions below 0.1.16 are listed as affected.

Likely exposure

Exposure requires an affected Vite or vite-plus version and network access to its development-server WebSocket under the stated Origin-header condition. Internet-facing, shared-network, containerized, preview, or remotely accessible development environments deserve immediate review. Static sites built by Vite are not shown by the supplied evidence to be independently vulnerable.

Exploitation context

The CVSS 4.0 score is 8.2, reflecting potentially severe confidentiality loss without privileges or user interaction, although a prerequisite condition applies. The supplied record is not in KEV and provides no evidence of active exploitation. Absence from KEV does not establish that exploitation has never occurred.

Researcher notes

The important control gap is path inconsistency: HTTP file restrictions are not applied to the WebSocket execution path. Scope validation should distinguish a running development server from static build output and account for reverse proxies or tunnels. The supplied sources establish disclosure capability and fixed versions, but do not establish public exploitation prevalence.

Mitigation direction

  • Upgrade Vite to 6.4.2, 7.3.2, or 8.0.5 according to the deployed major version.
  • Move vite-plus installations off versions below 0.1.16 and confirm vendor guidance.
  • Restrict development-server and WebSocket access to trusted local or authenticated networks.
  • Remove exposed development servers from production and public preview environments.
  • Rotate credentials if sensitive files may have been accessible during exposure.

Validation and detection

  • Inventory direct and transitive Vite and vite-plus versions across development, CI, preview, and production environments.
  • Confirm no affected development-server WebSocket is reachable from untrusted networks.
  • Verify deployed Vite versions meet the fixed thresholds for their respective major releases.
  • Review proxy, firewall, and tunnel configurations that may publish development-server WebSockets.
  • Review relevant access logs for unexpected WebSocket connections; available evidence may be incomplete.
Prepared
Confidence
high
Sources
5

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-1220: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · medium confidence lookup

CWE-200: Information exposure and cloud metadata lookup

Information exposure and SSRF weaknesses can make discovery, cloud metadata, and credential material review relevant. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · medium confidence lookup

CWE-306: Credential and account abuse lookup

Authentication and credential weaknesses can make valid-account abuse and credential telemetry useful review starting points. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

File access behavior lookup

The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-39363 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.2 (4.0)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

2CVSS vectors
5Timeline events
2ADP providers
8Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: yesTechnical Impact: partial

CVSS vector scores

2 official scores

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.2CVSS 4.0HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NGitHub_M
7.5CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N3.93.6redhat-SADP

Vulnerability scoring details

Base CVSS 4.0 score

8.2High
CVSS 4.0 vector shape for CVE-2026-39363Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. ADP timelineredhat-SADP

    Made public.

  3. CVE publishedCVE Program

    The CVE record was published.

  4. ADP timelineredhat-SADP

    Reported to Red Hat.

  5. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
redhat-SADPVite: Vite: Information disclosure via WebSocket connection bypasses access control
other:Red Hat severity ratingcvssV3_1
  • 2026-04-07T20:02:11.316Z: Reported to Red Hat.
  • 2026-04-07T19:10:44.916Z: Made public.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
vitejsvite>= 8.0.0, < 8.0.5, >= 7.0.0, < 7.3.2, >= 6.0.0, < 6.4.2Listed
vitejsvite-plus< 0.1.16Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-1220 · source CWE mapping

Insufficient Granularity of Access Control

Insufficient Granularity of Access Control represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.

CWE-200 · source CWE mapping

Exposure of Sensitive Information to an Unauthorized Actor

Exposure of Sensitive Information to an Unauthorized Actor represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.

CWE-306 · source CWE mapping

Missing Authentication for Critical Function

Missing Authentication for Critical Function represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.