CVE-2026-39363
published high CVSS 4.0 · 8.2Vite Affected by Arbitrary File Read via Vite Dev Server WebSocket
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| vitejs | — | vite>= 8.0.0, < 8.0.5 · >= 7.0.0, < 7.3.2 · >= 6.0.0, < 6.4.2 | Affected | Not stated | GitHub_M |
| vitejs | — | vite-plus< 0.1.16 | Affected | Not stated | GitHub_M |
| Red Hat | — | automation-gatewayRed Hat Ansible Automation Platform 2.5 for RHEL 8 · 0:2.5.20260422-3.el8ap and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | automation-gatewayRed Hat Ansible Automation Platform 2.5 for RHEL 9 · 0:2.5.20260422-3.el9ap and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | automation-platform-uiRed Hat Ansible Automation Platform 2.6 for RHEL 9 · 0:2.6.9-1.el9ap and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | ansible-automation-platform-tech-preview/mcp-server-rhel9Red Hat Ansible Automation Platform 2.6 · 1779783248 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | ansible-automation-platform-27/gateway-rhel9Red Hat Ansible Automation Platform 2.7 · 1787218409 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhacs-eng/release-mainRed Hat Advanced Cluster Security 4 | Unaffected | Not required | redhat-SADP |
Show 11 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | automation-controllerRed Hat Ansible Automation Platform 2 | Affected | Not stated | redhat-SADP |
| Red Hat | — | automation-eda-controllerRed Hat Ansible Automation Platform 2 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | viteRed Hat Build of Keycloak | Affected | Not stated | redhat-SADP |
| Red Hat | — | podman-desktop-macos-1-0Red Hat Build of Podman Desktop | Affected | Not stated | redhat-SADP |
| Red Hat | — | podman-desktop-windows-1-0Red Hat Build of Podman Desktop | Affected | Not stated | redhat-SADP |
| Red Hat | — | redhat-user-workloads/bootc-extRed Hat Build of Podman Desktop - Tech Preview | Affected | Not stated | redhat-SADP |
| Red Hat | — | redhat-user-workloads/openshift-local-extRed Hat Build of Podman Desktop - Tech Preview | Affected | Not stated | redhat-SADP |
| Red Hat | — | redhat-user-workloads/rhel-extRed Hat Build of Podman Desktop - Tech Preview | Affected | Not stated | redhat-SADP |
| Red Hat | — | viteRed Hat JBoss Enterprise Application Platform 8 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | viteRed Hat JBoss Enterprise Application Platform Expansion Pack | Unaffected | Not required | redhat-SADP |
| Red Hat | — | redhat-user-workloads/art-imagesRed Hat OpenShift Container Platform 4 | Affected | Not stated | redhat-SADP |
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.
A flaw was found in Vite, a frontend tooling framework. A remote attacker can exploit this vulnerability by connecting to the Vite development server's WebSocket without an Origin header. This allows the attacker to invoke the fetchModule function, enabling them to retrieve the contents of arbitrary files on the server. This information disclosure can lead to unauthorized access to sensitive data.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| vitejs | vite | >= 8.0.0, < 8.0.5 (affected)>= 7.0.0, < 7.3.2 (affected)>= 6.0.0, < 6.4.2 (affected) | GitHub_M · cna |
| vitejs | vite-plus | < 0.1.16 (affected) | GitHub_M · cna |
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 8 | 0:2.5.20260422-3.el8ap and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2.5 for RHEL 9 | 0:2.5.20260422-3.el9ap and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2.6 for RHEL 9 | 0:2.6.9-1.el9ap and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2.6 | 1779783248 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2.7 | 1787218409 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Advanced Cluster Security 4 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Ansible Automation Platform 2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Build of Keycloak | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Build of Podman Desktop | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Build of Podman Desktop | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Build of Podman Desktop - Tech Preview | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Build of Podman Desktop - Tech Preview | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Build of Podman Desktop - Tech Preview | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform Expansion Pack | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: affected | redhat-SADP · adp |
Weaknesses
3- CWE-200 CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
- CWE-306 CWE-306: Missing Authentication for Critical Function
- CWE-1220 Insufficient Granularity of Access Control
References
8- 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/errata/RHSA-2026:59153
- https://access.redhat.com/security/cve/CVE-2026-39363
- RHBZ#2456179 https://bugzilla.redhat.com/show_bug.cgi?id=2456179
- https://github.com/vitejs/vite/security/advisories/GHSA-p9ff-h696-f583
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39363.json
Provider assertions
3GitHub_M · cna
Vite Affected by Arbitrary File Read via Vite Dev Server WebSocket
redhat-SADP · adp
Vite: Vite: Information disclosure via WebSocket connection bypasses access control
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 02df8c9b6b3c686d83aa73a423522c0b6496776c9fbc50005f171ae64ef8ecf4
- Ingested
- 23 Sep 2026, 09:12:08 UTC
- Source record
- Official CVE record