Back to CVE records
High 8.2Published Apr 7, 2026

CVE-2026-39363Vite Affected by Arbitrary File Read via Vite Dev Server WebSocket

Updated under an hour ago ()

Does this affect you?

It affects vitejs vite and 9 other products. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
8.2 HIGH (v4.0, CNA)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
Weakness (CWE)
CWE-200, CWE-306, CWE-1220
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Modified
Record last updated
Aug 25, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
vitejs vite
vitejs:vite (from the name)
from 8.0.0, < 8.0.5; from 7.0.0, < 7.3.2; from 6.0.0, < 6.4.2
CNA record
vitejs vite-plus
vitejs:vite_plus (from the name)
before 0.1.16
CNA record
from 0:2.5.20260422-3.el8ap not affected
CISA ADP
Red Hat Red Hat Advanced Cluster Security 4
redhat:advanced_cluster_security
4
CISA ADP
All versions
CISA ADP
1
CISA ADP
Red Hat Red Hat JBoss Enterprise Application Platform 8
redhat:jboss_enterprise_application_platform
8
CISA ADP
Versions not stated
CISA ADP
4
CISA ADP
vitejs vite
vitejs:vite
from 6.0.0 through 6.4.1; from 7.0.0 through 7.3.1; from 8.0.0 through 8.0.4
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.