CVE-2025-30208
Description
Vite, a provider of frontend development tooling, has a vulnerability in versions prior to 6.2.3, 6.1.2, 6.0.12, 5.4.15, and 4.5.10. `@fs` denies access to files outside of Vite serving allow list. Adding `?raw??` or `?import&raw??` to the URL bypasses this limitation and returns the file content if it exists. This bypass exists because trailing separators such as `?` are removed in several places, but are not accounted for in query string regexes. The contents of arbitrary files can be returned to the browser. Only apps explicitly exposing the Vite dev server to the network (using `--host` or `server.host` config option) are affected. Versions 6.2.3, 6.1.2, 6.0.12, 5.4.15, and 4.5.10 fix the issue.
Description as published by the source, in English.
Key facts
- Published
- 2025-03-24
- Last modified
- 2026-06-17
- 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
-
75.0 %
higher than 99 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| vite (npm) | < 4.5.10 | Affected | |
| vite (npm) | ≥ 5.0.0, < 5.4.15 | Affected | |
| vite (npm) | ≥ 6.0.0, < 6.0.12 | Affected | |
| vite (npm) | ≥ 6.1.0, < 6.1.2 | Affected | |
| vite (npm) | ≥ 6.2.0, < 6.2.3 | Affected | |
| Vitejs | Vite | < 4.5.10 | Affected |
| Vitejs | Vite | ≥ 5.0.0, < 5.4.15 | Affected |
| Vitejs | Vite | ≥ 6.0.0, < 6.0.12 | Affected |
| Vitejs | Vite | ≥ 6.1.0, < 6.1.2 | Affected |
| Vitejs | Vite | ≥ 6.2.0, < 6.2.3 | Affected |
Weakness type
-
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-284: Improper Access Control
The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.
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
- T1014: Rootkit
- T1016: System Network Configuration Discovery
- T1018: Remote System Discovery
- T1027.009: Embedded Payloads
- T1033: System Owner/User Discovery
- T1036.005: Match Legitimate Resource Name or Location
- T1037: Boot or Logon Initialization Scripts
- T1046: Network Service Discovery
- T1049: System Network Connections Discovery
- T1057: Process Discovery
- T1069: Permission Groups Discovery
- T1080: Taint Shared Content
- 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
References
- https://github.com/vitejs/vite/commit/315695e9d97cc6cfa7e6d9e0229fb50cdae3d9f4
- https://github.com/vitejs/vite/commit/80381c38d6f068b12e6e928cd3c616bd1d64803c
- https://github.com/vitejs/vite/commit/807d7f06d33ab49c48a2a3501da3eea1906c0d41
- https://github.com/vitejs/vite/commit/92ca12dc79118bf66f2b32ff81ed09e0d0bd07ca
- https://github.com/vitejs/vite/commit/f234b5744d8b74c95535a7b82cc88ed2144263c1
- https://github.com/vitejs/vite/security/advisories/GHSA-x574-m823-4x7w
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.