---
id: CVE-2026-39364
title: Vite is a frontend tooling framework for JavaScript
summary: >-
  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 par…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-180
  - CWE-284
  - CWE-472
vendor: vitejs
product: vite
affected:
  - 'vite >= 7.0.0, <= 7.3.1'
  - 'vite >= 8.0.0, <= 8.0.4'
  - vite+ <= 0.1.15
published: '2026-04-07'
updated: '2026-08-04'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-39364'
references:
  - url: 'https://github.com/vitejs/vite/security/advisories/GHSA-v2wj-q39q-566r'
    label: security-advisories@github.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:24866'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/security/cve/CVE-2026-39364'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2456181'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-39364.json
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
tags:
  - nvd
  - exploit-available
epss: 0.01535
epssPercentile: 0.73762
ingestedAt: '2026-08-05T11:47:24.425Z'
exploits:
  nuclei:
    - CVE-2026-39364
  checkedAt: '2026-09-26T09:05:42.865Z'
exploitAvailable: true
---

## Overview

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

- `vite >= 7.0.0, <= 7.3.1`
- `vite >= 8.0.0, <= 8.0.4`
- `vite+ <= 0.1.15`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
