File Exposure Vulnerability in Vite Frontend Tooling Framework
CVE-2026-39364

8.2HIGH

Key Information:

Vendor

Vitejs

Vendor
CVE Published:
7 April 2026

What is CVE-2026-39364?

CVE-2026-39364 is a vulnerability found in the Vite frontend tooling framework, primarily used for JavaScript development. The issue affects versions 7.1.0 through prior to 7.3.2 and 8.0.5 of the Vite development server. Specifically, this vulnerability allows unauthorized access to files that are meant to be restricted by the server's file system settings (server.fs.deny), such as sensitive configuration files (e.g., .env files and SSL certificates). Attackers can exploit this flaw by appending specific query parameters (like ?raw or ?import&raw) to requests, which could lead to the disclosure of sensitive information. This can severely compromise an organization’s security posture by exposing critical data that should remain confidential.

Potential impact of CVE-2026-39364

  1. Sensitive Data Exposure: The vulnerability allows unauthorized retrieval of sensitive files, including configuration data and SSL certificates, which can provide attackers with insights into system architecture and access to critical infrastructure.

  2. Increased Attack Surface: By exposing sensitive files, the vulnerability broadens the attack vector available to threat actors, potentially facilitating further exploits or attacks on the affected organization.

  3. Reputational Damage and Compliance Risks: Unauthorized access to sensitive data can lead to data breaches, resulting in reputational harm and potential regulatory penalties, particularly for organizations that must comply with data protection regulations.

Affected Version(s)

vite >= 8.0.0, < 8.0.5 < 8.0.0, 8.0.5

vite >= 7.1.0, < 7.3.2 < 7.1.0, 7.3.2

vite-plus < 0.1.16

References

CVSS V4

Score:
8.2
Severity:
HIGH
Confidentiality:
High
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.