Vite Affected by Arbitrary File Read via Vite Dev Server WebSocket
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Information disclosure, Security bypass
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Partial Red Hat: 5 fixed, 4 without a fix
Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-200 and CWE-306.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| vitejs | vite | 8.0.0 to before 8.0.5; 7.0.0 to before 7.3.2; 6.0.0 to before 6.4.2 | 8.0.5, 7.3.2, 6.4.2 | Patch available | CNA |
| vitejs | vite-plus | before 0.1.16 | 0.1.16 | Patch available | CNA |
| — | vite (npm) | 8.0.0 to before 8.0.5 | 8.0.5 | Patch available | GHSA-p9ff-h696-f583 |
| — | vite (npm) | 7.0.0 to before 7.3.2 | 7.3.2 | Patch available | GHSA-p9ff-h696-f583 |
| — | vite (npm) | 6.0.0 to before 6.4.2 | 6.4.2 | Patch available | GHSA-p9ff-h696-f583 |
- vite Vendorvitejs Affected 8.0.0 to before 8.0.5; 7.0.0 to before 7.3.2; 6.0.0 to before 6.4.2 Fixed in 8.0.5, 7.3.2, 6.4.2 Patch available CNA
- vite-plus Vendorvitejs Affected before 0.1.16 Fixed in 0.1.16 Patch available CNA
- vite (npm) Vendor— Affected 8.0.0 to before 8.0.5 Fixed in 8.0.5 Patch available GHSA-p9ff-h696-f583
- vite (npm) Vendor— Affected 7.0.0 to before 7.3.2 Fixed in 7.3.2 Patch available GHSA-p9ff-h696-f583
- vite (npm) Vendor— Affected 6.0.0 to before 6.4.2 Fixed in 6.4.2 Patch available GHSA-p9ff-h696-f583
Remediation
- Fix · CNA vite (vitejs) Fixed in 8.0.5, 7.3.2, 6.4.2
- Fix · CNA vite-plus (vitejs) Fixed in 0.1.16
- Fix · GHSA-p9ff-h696-f583 vite (npm) Fixed in 8.0.5 Advisory →
- Fix · GHSA-p9ff-h696-f583 vite (npm) Fixed in 7.3.2 Advisory →
- Fix · GHSA-p9ff-h696-f583 vite (npm) Fixed in 6.4.2 Advisory →
Red Hat 4 advisories
- RHSA-2026:59153 Released 2026-08-24 · Red Hat rating ImportantRed Hat Ansible Automation Platform 2.7 Container Release Update
- Red Hat Ansible Automation Platform 2.7 registry.redhat.io/ansible-automation-platform-27/controller-rhel9, registry.redhat.io/ansible-automation-platform-27/eda-controller-rhel9, registry.redhat.io/ansible-automation-platform-27/ee-minimal-rhel9 +3
- RHSA-2026:24866 Released 2026-06-09 · Red Hat rating CriticalRed Hat Ansible Automation Platform 2.6 Container Release Update
- Red Hat Ansible Automation Platform 2.6 registry.redhat.io/ansible-automation-platform-26/controller-rhel9, registry.redhat.io/ansible-automation-platform-26/eda-controller-rhel9, registry.redhat.io/ansible-automation-platform-26/ee-supported-rhel9 +7
- RHSA-2026:24761 Released 2026-06-09 · Red Hat rating ImportantRed Hat Ansible Automation Platform 2.5 Product Security and Bug Fix Update
- Red Hat Ansible Automation Platform 2.5 for RHEL 8 automation-controller-venv-tower-4.6.29-2.el8ap, automation-gateway-proxy-server-2.5.10-6.el8ap, automation-gateway-server-2.5.20260422-3.el8ap +4
- Red Hat Ansible Automation Platform 2.5 for RHEL 9 automation-controller-venv-tower-4.6.29-2.el9ap, automation-gateway-proxy-server-2.6.14-3.el9ap, automation-gateway-server-2.5.20260422-3.el9ap +4
Show 1 more Red Hat advisories
- RHSA-2026:24762 Released 2026-06-09 · Red Hat rating ImportantRed Hat Ansible Automation Platform 2.6 Product Security and Bug Fix Update
- Red Hat Ansible Automation Platform 2.6 for RHEL 10 python3-click-8.3.3-1.el10ap, receptor-1.6.5-1.el10ap, receptorctl-1.6.5-1.el10ap
- Red Hat Ansible Automation Platform 2.6 for RHEL 9 automation-controller-4.7.12-1.el9ap, automation-controller-cli-4.7.12-1.el9ap, automation-controller-server-4.7.12-1.el9ap +10
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ansible Automation Platform 2 | Affected | No fix yet |
| Red Hat Build of Keycloak | Affected | No fix planned: Will not fix |
| Red Hat Build of Podman Desktop | Affected | No fix yet |
| Red Hat Build of Podman Desktop - Tech Preview | Affected | No fix yet |
| Red Hat Ansible Automation Platform 2.5 for RHEL 8 | Fixed | RHSA-2026:24761 |
| Red Hat Ansible Automation Platform 2.5 for RHEL 9 | Fixed | RHSA-2026:24761 |
| Red Hat Ansible Automation Platform 2.6 | Fixed | RHSA-2026:24866 |
| Red Hat Ansible Automation Platform 2.6 for RHEL 9 | Fixed | RHSA-2026:24762 |
| Red Hat Ansible Automation Platform 2.7 | Fixed | RHSA-2026:59153 |
Not affected: 11 products
- Red Hat Advanced Cluster Security 4
- Red Hat Ansible Automation Platform 2
- Red Hat Ansible Automation Platform 2.5 for RHEL 8
- Red Hat Ansible Automation Platform 2.5 for RHEL 9
- Red Hat Ansible Automation Platform 2.6
- Red Hat Ansible Automation Platform 2.6 for RHEL 10
- Red Hat Ansible Automation Platform 2.6 for RHEL 9
- Red Hat Ansible Automation Platform 2.7
- Red Hat JBoss Enterprise Application Platform 8
- Red Hat JBoss Enterprise Application Platform Expansion Pack
- Red Hat OpenShift Container Platform 4
Timeline
- 2026-10-02 Threatist record created from CVE-2026-39363
- 2026-10-03 Alias added: GHSA-p9ff-h696-f583
- 2026-10-10 Affected versions changed · Red Hat
References
Other 6
More vitejs Vite vulnerabilities
- TI-2025-22386 Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query KEVCVSS 3.1HIGH 7.5
- TI-2025-21544 Vite bypasses server.fs.deny when using `?raw??` CVSS 3.1HIGH 7.5
- TI-2023-16938 Vite Server Options (server.fs.deny) can be bypassed using double forward-slash (//) CVSS 3.1HIGH 7.5
- TI-2026-38634 Vite: `server.fs.deny` bypass on Windows alternate paths CVSS 4.0HIGH 8.2
- TI-2026-28352 Vite has a Path Traversal in Optimized Deps `.map` Handling CVSS 4.0MEDIUM 6.3
- TI-2026-28351 Vite has a `server.fs.deny` bypass with queries CVSS 4.0HIGH 8.2
Sources
- CVE-2026-39363 · CVE Program
- CVE-2026-39363 · NVD
- FIRST EPSS
- GHSA-p9ff-h696-f583 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-39363 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences