CVE-2026-39364Vitejs Vite
High 8.2 No auth needed
Follow: this CVE · Vitejs · Vitejs Vite We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 4.0
- 8.2
- EPSS
- —
- Auth required
- No
- Published
- Apr 7, 2026
- Updated
- Aug 4, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
Vite is a frontend tooling framework for JavaScript. From 7.1.0 to before 7.3.2 and 8.0.5, on the Vite dev server, files that should be blocked by server.fs.deny (e.g., .env, *.crt) can be retrieved with HTTP 200 responses when query parameters such as ?raw, ?import&raw, or ?import&url&inline are appended. This vulnerability is fixed in 7.3.2 and 8.0.5.
What to do
- Apply the vendor's security update for Vite.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | vite |
≥ 8.0.0 < 8.0.5 |
8.0.5 |
npm install vite@8.0.5 |
| npm | vite |
≥ 7.1.0 < 7.3.2 |
7.3.2 |
npm install vite@7.3.2 |
Per OSV / GitHub Advisories (GHSA-v2wj-q39q-566r). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| vitejs | vite | ≥ 7.0.0 ≤ 7.3.1 |
| vitejs | vite | ≥ 8.0.0 ≤ 8.0.4 |
| voidzero | vite+ | ≤ 0.1.15 |
In the news
- Una campaña automatizada saquea servidores de desarrollo Vite expuestos para robar secretos de AWS y Azure · Una al Día (Hispasec) · Sep 29, 2026
Security media stories that mention this CVE. Titles unmodified.
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Vendor Advisory
- access.redhat.com
- access.redhat.com
- bugzilla.redhat.com
- security.access.redhat.com