{"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"}],"tags":["nvd","exploit-available"],"epss":0.02619,"epssPercentile":0.848,"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-09-25T08:20:56.292Z"},"exploitAvailable":true,"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.","depth":"midnight","depthScore":54,"depthScoreParts":{"impact":41.3,"likelihood":0.5,"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"}]}