{"id":"CVE-2026-39363","title":"Vite is a frontend tooling framework for JavaScript","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 custo…","severity":"high","cvss":7.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","cwe":["CWE-200","CWE-306","CWE-1220"],"vendor":"vitejs","product":"vite","affected":["vite >= 6.0.0, <= 6.4.1","vite >= 7.0.0, <= 7.3.1","vite >= 8.0.0, <= 8.0.4","vite+ <= 0.1.15"],"published":"2026-04-07","updated":"2026-08-04","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-39363","references":[{"url":"https://github.com/vitejs/vite/security/advisories/GHSA-p9ff-h696-f583","label":"security-advisories@github.com"},{"url":"https://access.redhat.com/errata/RHSA-2026:24761","label":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"url":"https://access.redhat.com/errata/RHSA-2026:24762","label":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"url":"https://access.redhat.com/errata/RHSA-2026:24866","label":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"url":"https://access.redhat.com/security/cve/CVE-2026-39363","label":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2456179","label":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"url":"https://github.com/vitejs/vite/security/advisories/GHSA-p9ff-h696-f583","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39363.json","label":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-39363"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-39363"},{"url":"https://access.redhat.com/errata/RHSA-2026:59153"}],"tags":["nvd","exploit-available","csaf","vex","red-hat"],"epss":0.03396,"epssPercentile":0.88766,"ingestedAt":"2026-08-05T11:47:24.395Z","exploits":{"github":3,"githubRepos":["https://github.com/Firebasky/CVE-2026-39363","https://github.com/f4s1on/CVE-2026-39363","https://github.com/sunynov/CVE-2026-39363"],"nuclei":["javascript/cves/2026/CVE-2026-39363"],"checkedAt":"2026-10-27T18:59:00.487Z"},"exploitAvailable":true,"patched":["ansible_automation_platform_2_5_for_rhel 8","ansible_automation_platform_2_5_for_rhel 9","ansible_automation_platform_2_6_for_rhel 9","ansible_automation_platform 2.6","ansible_automation_platform 2.7"],"slug":"CVE-2026-39363","body":"## Overview\n\nVite 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.\n\n## Affected\n\n- `vite >= 6.0.0, <= 6.4.1`\n- `vite >= 7.0.0, <= 7.3.1`\n- `vite >= 8.0.0, <= 8.0.4`\n- `vite+ <= 0.1.15`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Vendor advisories\n\n- **RHSA-2026:24761** · Red Hat · fixed in: Red Hat Ansible Automation Platform 2.5 for RHEL 8, Red Hat Ansible Automation Platform 2.5 for RHEL 9 · released 2026-06-09 · [advisory](https://access.redhat.com/errata/RHSA-2026:24761)\n- **RHSA-2026:24762** · Red Hat · fixed in: Red Hat Ansible Automation Platform 2.6 for RHEL 9 · released 2026-06-09 · [advisory](https://access.redhat.com/errata/RHSA-2026:24762)\n- **RHSA-2026:24866** · Red Hat · fixed in: Red Hat Ansible Automation Platform 2.6 · released 2026-06-09 · [advisory](https://access.redhat.com/errata/RHSA-2026:24866)\n- **RHSA-2026:59153** · Red Hat · fixed in: Red Hat Ansible Automation Platform 2.7 · released 2026-08-24 · [advisory](https://access.redhat.com/errata/RHSA-2026:59153)\n- **Red Hat VEX** · Important · affected: Red Hat Ansible Automation Platform 2, Red Hat Build of Keycloak, Red Hat Build of Podman Desktop, Red Hat Build of Podman Desktop - Tech Preview · no fix planned: Red Hat Ansible Automation Platform 2, Red Hat Build of Keycloak, Red Hat Build of Podman Desktop - Tech Preview, Red Hat Build of Podman Desktop · updated 2026-10-09 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39363.json)","depth":"midnight","depthScore":54,"depthScoreParts":{"impact":41.3,"likelihood":0.7,"exploitation":12,"ransomware":0},"changes":[{"seq":5142,"id":"CVE-2026-39363","ts":1788887250824,"field":"exploit_available","old":"false","new":"true"},{"seq":4025,"id":"CVE-2026-39363","ts":1788886366717,"field":"exploit_available","old":"true","new":"false"},{"seq":2836,"id":"CVE-2026-39363","ts":1788883033426,"field":"exploit_available","old":"false","new":"true"},{"seq":1865,"id":"CVE-2026-39363","ts":1788882436272,"field":"exploit_available","old":"true","new":"false"},{"seq":963,"id":"CVE-2026-39363","ts":1788881870239,"field":"exploit_available","old":"false","new":"true"}]}