# CVE-2026-39364: Vite - Arbitrary File Read

> Live exploitation tracking for CVE-2026-39364 by the CrowdSec Live Exploit Tracker, built from real-world attack data crowdsourced from CrowdSec's global network.

Page: https://tracker.crowdsec.net/cves/CVE-2026-39364

## Key facts

- **Exploitation phase:** Limited Exploitation. The vulnerability is known but shows very limited attacker interest or exploitation activity.
- **CVSS score:** 8.2
- **Public exploit available:** Yes
- **Affected products:** Vitejs Vite, Vitejs Vite-plus
- **Weaknesses:** CWE-552 (Files or Directories Accessible to External Parties)
- **Tags:** javascript, web_application

## 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.

## CrowdSec analysis

[CVE-2026-39364](https://euvd.enisa.europa.eu/vulnerability/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.

## Timeline

- 2026-04-07: CVE Published. CVE-2026-39364 is published to NVD.
- 2026-05-22: Rule Released. CrowdSec releases a rule to detect CVE-2026-39364 exploitation attempts against the CrowdSec Network.
- 2026-09-27: CrowdSec First Seen. CrowdSec observes in-the-wild exploitation of CVE-2026-39364 for the first time.

## References

- https://github.com/vitejs/vite/security/advisories/GHSA-v2wj-q39q-566r
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-39364.yaml

## Live exploitation data

The [Live Exploit Tracker page](https://tracker.crowdsec.net/cves/CVE-2026-39364) follows observed exploitation activity for CVE-2026-39364. [Request an API key](https://tracker.crowdsec.net/request-api-key) for full access to its exploitation timeline, attacking IP addresses and blocklists.
