Vulnerability · Published Apr 7, 2026 · Assigned by GitHub_M

CVE-2026-39364Vite has a `server.fs.deny` bypass with queries

High 7.5

In plain English

A high-severity improper access control in vite from vitejs. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 2.3% (higher than 83% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)2.3%top 17.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Nuclei

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmvite8.0.5GHSA-v2wj-q39q-566r
npmvite7.3.2GHSA-v2wj-q39q-566r

Affected products (as reported)

VendorProductVersions
vitejs vite >= 8.0.0, < 8.0.5>= 7.1.0, < 7.3.2
vitejs vite-plus < 0.1.16

Weakness: CWE-180, CWE-284, CWE-472 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References