CVE-2026-39363
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-04-07
- Last modified
- 2026-08-25
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
3.3 %
higher than 87 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Vitejs | Vite | ≥ 6.0.0, ≤ 6.4.1 | Affected |
| Vitejs | Vite | ≥ 7.0.0, ≤ 7.3.1 | Affected |
| Vitejs | Vite | ≥ 8.0.0, ≤ 8.0.4 | Affected |
| Voidzero | Vite+ | ≤ 0.1.15 | Affected |
Weakness type
-
CWE-1220: Insufficient Granularity of Access Control
The product implements access controls via a policy or other feature with the intention to disable or restrict accesses (reads and/or writes) to assets in a system from untrusted agents. However, implemented access cont…
-
CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.
-
CWE-306: Missing Authentication for Critical Functionality
The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1007: System Service Discovery
- T1016: System Network Configuration Discovery
- T1018: Remote System Discovery
- T1033: System Owner/User Discovery
- T1036.005: Match Legitimate Resource Name or Location
- T1046: Network Service Discovery
- T1049: System Network Connections Discovery
- T1057: Process Discovery
- T1069: Permission Groups Discovery
- T1082: System Information Discovery
- T1083: File and Directory Discovery
- T1087: Account Discovery
- T1111: Multi-Factor Authentication Interception
- T1120: Peripheral Device Discovery
- T1124: System Time Discovery
- T1134.001: Token Impersonation/Theft
- T1135: Network Share Discovery
- T1217: Browser Information Discovery
- T1550.004: Web Session Cookie
- T1574.006: Dynamic Linker Hijacking
References
- https://github.com/vitejs/vite/security/advisories/GHSA-p9ff-h696-f583
- https://github.com/vitejs/vite/security/advisories/GHSA-p9ff-h696-f583
- https://access.redhat.com/errata/RHSA-2026:24761
- https://access.redhat.com/errata/RHSA-2026:24762
- https://access.redhat.com/errata/RHSA-2026:24866
- https://access.redhat.com/errata/RHSA-2026:59153
- https://access.redhat.com/security/cve/CVE-2026-39363
- https://bugzilla.redhat.com/show_bug.cgi?id=2456179
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39363.json
Related at Berigo
Articles
-
Russian clusters bypass two step verification by asking for app passwords
Same product
2026-08-24
Google Threat Intelligence Group described three clusters linked to Russian intelligence on 20 August 2026, targeting academics, the defence industry…
-
The AI notetaker let strangers into the meetings, and no one had to break in
Same product
2026-08-06
Security researcher BobDaHacker reports that AI notetaker tl;dv lacked separation between customers in its database, so any signed-in user could pull…
-
Signed malware posing as Teams and Zoom installs remote management tools
Same product
2026-03-03
Microsoft has uncovered phishing campaigns where fake meeting invitations lead to signed installers that leave legitimate remote management tools beh…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.