Vite - Arbitrary File Read (CVE-2026-39364)
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.
psychologyCrowdSec Analysis
CVE-2026-39364 is an arbitrary file read vulnerability in Vite, a popular JavaScript frontend tooling framework, affecting versions 7.1.0 to before 7.3.2 and 8.0.5. Attackers can exploit this flaw on the Vite dev server to access sensitive files—such as .env or certificate files—that should be blocked, simply by appending specific query parameters like ?raw or ?import&raw to HTTP requests. This vulnerability could expose confidential configuration data, potentially leading to further compromise of development environments. The issue has been addressed in Vite versions 7.3.2 and 8.0.5.
CrowdSec has been tracking this vulnerability and its exploits since 22nd of May 2026.
CrowdSec has not observed any significant exploitation activity targeting CVE-2026-39364 across its network. As a result, no community-driven trend analysis is available for this vulnerability at this time.
Attackers exploit this vulnerability by sending requests to paths containing dot segments such as /.vite/../ to bypass file restrictions on Vite Dev Server endpoints, allowing unauthorized access to sensitive files like .env in the project root.
Full Intelligence Available
Connect your API key to access CrowdSec scores, exploit timelines, and attacker IPs.
| Event | Date |
|---|---|
| CVE Published | 2026-04-07 |
| Rule Released | 2026-05-22 |
| CrowdSec First Seen | 2026-09-27 |