Live threats

All CVEs / Vitejs

CVE-2026-39364Vitejs Vite

High 8.2 No auth needed

Priority
64
CVSS 4.0
8.2
EPSS
—
Auth required
No
Published
Apr 7, 2026
Updated
Aug 4, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-180, CWE-284, CWE-472
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Vite.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
vitejsvite≥ 7.0.0 ≤ 7.3.1
vitejsvite≥ 8.0.0 ≤ 8.0.4
voidzerovite+≤ 0.1.15

In the news

Security media stories that mention this CVE. Titles unmodified.

Official sources

References

Links published by the sources. Open them with care.