CVE-2026-39363 Vite Affected by Arbitrary File Read via Vite Dev Server WebSocket
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
25 packages: 6 fixed, 1 partially fixed, 15 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat build keycloak | All versions | No fix listed | No fix yet |
| redhat jbosseapxp | All versions | No fix listed | No fix yet |
| redhat openshift | All versions | No fix listed | No fix yet |
| redhat podman desktop | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-26/gateway-rhel9(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-26/mcp-server-rhel9(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-27/gateway-rhel9:1787218409(Red Hat ansible_automation_platform 2.7 el9) | All versions | No fix listed | No fix yet |
| redhat/ansible-automation-platform-tech-preview/mcp-server-rhel9:1779783248(Red Hat ansible_automation_platform 2.6 el9) | All versions | No fix listed | No fix yet |
| redhat/automation-controller(Red Hat ansible_automation_platform 2) | All versions | No fix listed | No fix yet |
| redhat/podman-desktop-macos-1-0(Red Hat podman_desktop 1) | All versions | No fix listed | No fix yet |
| redhat/podman-desktop-windows-1-0(Red Hat podman_desktop 1) | All versions | No fix listed | No fix yet |
| redhat/redhat-user-workloads/bootc-ext(Red Hat podman_desktop 0) | All versions | No fix listed | No fix yet |
| redhat/redhat-user-workloads/openshift-local-ext(Red Hat podman_desktop 0) | All versions | No fix listed | No fix yet |
| redhat/redhat-user-workloads/rhel-ext(Red Hat podman_desktop 0) | All versions | No fix listed | No fix yet |
| redhat/vite(Red Hat build_keycloak) | All versions | No fix listed | No fix yet |
| redhat ansible automation platform | < 0:2.5.20260422-3.el8ap; < 0:2.5.20260422-3.el9ap; < 0:2.6.9-1.el9ap; < 1779783248 +3 more | 0:2.5.20260422-3.el8ap, 0:2.5.20260422-3.el9ap, 0:2.6.9-1.el9ap, 1779783248, 1787218409 | Partially fixed |
| npm vite(npm) | >= 6.0.0, < 6.4.2; >= 6.0.0, <= 6.4.1; >= 7.0.0, < 7.3.2; >= 7.0.0, <= 7.3.1 +2 more | 6.4.2, 7.3.2, 8.0.5 | Fixed |
| redhat/automation-gateway(Red Hat ansible_automation_platform 2.5 el8) | < 2.5.20260422-3.el8ap | 2.5.20260422-3.el8ap | Fixed |
| redhat/automation-gateway(Red Hat ansible_automation_platform 2.5 el9) | < 2.5.20260422-3.el9ap | 2.5.20260422-3.el9ap | Fixed |
| redhat/automation-platform-ui(Red Hat ansible_automation_platform 2.6 el9) | < 2.6.9-1.el9ap | 2.6.9-1.el9ap | Fixed |
| vitejs vite | = >= 6.0.0, < 6.4.2; = >= 7.0.0, < 7.3.2; = >= 8.0.0, < 8.0.5; >= 6.0.0, <= 6.4.1 +2 more | after 6.4.1, 7.3.1, 8.0.4 | Fixed |
| voidzero vite+ | <= 0.1.15 | after 0.1.15 | Fixed |
| redhat advanced cluster security | = 4 | No fix listed | Versions listed |
| redhat jboss enterprise application platform | = 8 | No fix listed | Versions listed |
| vitejs vite-plus | = < 0.1.16 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| vitejs vite | = >= 8.0.0, < 8.0.5 | No fix listed |
| vitejs vite | = >= 7.0.0, < 7.3.2 | No fix listed |
| vitejs vite | = >= 6.0.0, < 6.4.2 | No fix listed |
| vitejs vite-plus | = < 0.1.16 | No fix listed |
| redhat ansible automation platform | < 0:2.5.20260422-3.el8ap | 0:2.5.20260422-3.el8ap |
| redhat ansible automation platform | < 0:2.5.20260422-3.el9ap | 0:2.5.20260422-3.el9ap |
| redhat ansible automation platform | < 0:2.6.9-1.el9ap | 0:2.6.9-1.el9ap |
| redhat ansible automation platform | < 1779783248 | 1779783248 |
| redhat ansible automation platform | < 1787218409 | 1787218409 |
| redhat advanced cluster security | = 4 | No fix listed |
| redhat ansible automation platform | All versions | No fix listed |
| redhat ansible automation platform | = 2 | No fix listed |
| redhat build keycloak | All versions | No fix listed |
| redhat podman desktop | All versions | No fix listed |
| redhat jboss enterprise application platform | = 8 | No fix listed |
| redhat jbosseapxp | All versions | No fix listed |
| redhat openshift | All versions | No fix listed |
| npm vite(npm) | >= 8.0.0, <= 8.0.4 | No fix listed |
| npm vite(npm) | >= 7.0.0, <= 7.3.1 | No fix listed |
| npm vite(npm) | >= 6.0.0, <= 6.4.1 | No fix listed |
| redhat/automation-gateway(Red Hat:ansible_automation_platform:2.5::el8) | < 2.5.20260422-3.el8ap | 2.5.20260422-3.el8ap |
| redhat/automation-gateway(Red Hat:ansible_automation_platform:2.5::el9) | < 2.5.20260422-3.el9ap | 2.5.20260422-3.el9ap |
| redhat/automation-platform-ui(Red Hat:ansible_automation_platform:2.6::el9) | < 2.6.9-1.el9ap | 2.6.9-1.el9ap |
| redhat/ansible-automation-platform-tech-preview/mcp-server-rhel9:1779783248(Red Hat:ansible_automation_platform:2.6::el9) | All versions | No fix listed |
| redhat/ansible-automation-platform-27/gateway-rhel9:1787218409(Red Hat:ansible_automation_platform:2.7::el9) | All versions | No fix listed |
Show 16 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat/ansible-automation-platform-26/gateway-rhel9(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/ansible-automation-platform-26/mcp-server-rhel9(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/automation-controller(Red Hat:ansible_automation_platform:2) | All versions | No fix listed |
| redhat/vite(Red Hat:build_keycloak:) | All versions | No fix listed |
| redhat/podman-desktop-macos-1-0(Red Hat:podman_desktop:1) | All versions | No fix listed |
| redhat/podman-desktop-windows-1-0(Red Hat:podman_desktop:1) | All versions | No fix listed |
| redhat/redhat-user-workloads/bootc-ext(Red Hat:podman_desktop:0) | All versions | No fix listed |
| redhat/redhat-user-workloads/openshift-local-ext(Red Hat:podman_desktop:0) | All versions | No fix listed |
| redhat/redhat-user-workloads/rhel-ext(Red Hat:podman_desktop:0) | All versions | No fix listed |
| vitejs vite | >= 6.0.0, <= 6.4.1 | No fix listed |
| vitejs vite | >= 7.0.0, <= 7.3.1 | No fix listed |
| vitejs vite | >= 8.0.0, <= 8.0.4 | No fix listed |
| voidzero vite+ | <= 0.1.15 | No fix listed |
| npm vite(npm) | >= 8.0.0, < 8.0.5 | 8.0.5 |
| npm vite(npm) | >= 7.0.0, < 7.3.2 | 7.3.2 |
| npm vite(npm) | >= 6.0.0, < 6.4.2 | 6.4.2 |
References
- https://github.com/vitejs/vite/security/advisories/GHSA-p9ff-h696-f583 exploit vendor-advisory
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2456179 issue-tracking
- security.access.redhat.com
- RHSA-2026:24761 patch vendor-advisory
- RHSA-2026:24762 patch vendor-advisory
- RHSA-2026:24866 patch vendor-advisory
- RHSA-2026:59153 patch vendor-advisory
- github.com patch
- github.com patch
- github.com
- github.com
- github.com
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- www.cve.org
- github.com product
- ENISA EUVD EUVD-2026-19871 third-party-advisory