CVE-2026-39364 Details
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.
A vulnerability exists in Vite versions 7.1.0 prior to 7.3.2 and 8.0.5, allowing files meant to be blocked by the server.fs.deny option, such as .env and *.crt files, to be accessed through the Vite development server. This issue arises when the server is exposed to the network and the sensitive files are located in directories permitted by the server.fs.allow option. Exploitation involves appending specific query parameters to the request, which can bypass the denial and return the file contents with an HTTP 200 response.
Users can upgrade to Vite version 7.3.2 or 8.0.5, both of which address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/errata/RHSA-2026:24866 | redhat-SADP | |
| https://access.redhat.com/security/cve/CVE-2026-39364 | redhat-SADP | |
| https://bugzilla.redhat.com/show_bug.cgi?id=2456181 | redhat-SADP | |
| https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39364.json | redhat-SADP | |
| https://github.com/vitejs/vite/security/advisories/GHSA-v2wj-q39q-566r | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-180 | Incorrect Behavior Order: Validate Before Canonicalize | [email protected] |
| CWE-284 | Improper Access Control | [email protected] |
| CWE-472 | External Control of Assumed-Immutable Web Parameter | redhat-SADP |
Affected Products
| Product | Versions |
|---|---|
| vitejs vite | >= 7.0.0, <= 7.3.1 >= 8.0.0, <= 8.0.4 |
CPE
Remediation
| |
| voidzero vite+ | <= 0.1.15 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 4, 2026 | CVE Modified | redhat-SADP |
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Apr 30, 2026 | Reanalysis | [email protected] |
| Apr 15, 2026 | Initial Analysis | [email protected] |
| Apr 7, 2026 | New CVE Received | [email protected] |