The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-39364

CVE-2026-39364: Vite Information Disclosure Vulnerability

CVE-2026-39364 is an information disclosure flaw in Vite that allows attackers to bypass server.fs.deny protections and access restricted files. This article covers technical details, affected versions, and patches.

Published: April 10, 2026

CVE-2026-39364 Overview

CVE-2026-39364 is a security bypass vulnerability affecting Vite, a popular frontend tooling framework for JavaScript. This vulnerability allows attackers to retrieve sensitive files that should be blocked by the server.fs.deny configuration on the Vite development server. Files such as .env environment configuration files and certificate files (*.crt) can be accessed by appending specific query parameters to HTTP requests, resulting in HTTP 200 responses instead of being properly denied.

Critical Impact

Attackers can bypass file access restrictions to read sensitive configuration files including environment variables containing secrets, credentials, and certificates, potentially leading to full application compromise.

Affected Products

  • Vite versions 7.1.0 to before 7.3.2
  • Vite versions 8.0.0 to before 8.0.5

Discovery Timeline

  • 2026-04-07 - CVE CVE-2026-39364 published to NVD
  • 2026-04-08 - Last updated in NVD database

Technical Details for CVE-2026-39364

Vulnerability Analysis

This vulnerability represents an Improper Input Validation issue (CWE-180) in the Vite development server's file access control mechanism. The server.fs.deny configuration is designed to prevent access to sensitive files during development, but the implementation fails to properly validate file paths when certain query parameters are present.

When a request includes query parameters such as ?raw, ?import&raw, or ?import&url&inline, the file access validation logic is bypassed. This allows attackers to retrieve the contents of files that would normally be blocked, including environment files containing API keys, database credentials, and other sensitive configuration data.

The vulnerability is particularly concerning because .env files commonly store production secrets during development, and certificate files could enable man-in-the-middle attacks or impersonation of trusted services.

Root Cause

The root cause stems from improper handling of query parameters in the file path resolution logic. The server.fs.deny check appears to be performed before or without consideration of special query parameter handling, creating an inconsistency between the access control decision and the actual file serving behavior. When these specific query parameters are appended, the request processing follows a different code path that does not honor the deny list configuration.

Attack Vector

The attack is network-accessible and requires no authentication or user interaction. An attacker with network access to a Vite development server can craft HTTP GET requests with the vulnerable query parameters appended to file paths that would normally be denied.

For example, requesting /path/to/.env?raw or /path/to/.env?import&raw would return the contents of the .env file with an HTTP 200 response, even when .env is properly configured in server.fs.deny. The attack complexity is low as it only requires appending query strings to standard file requests.

Detection Methods for CVE-2026-39364

Indicators of Compromise

  • Unusual HTTP requests to the Vite development server containing ?raw, ?import&raw, or ?import&url&inline query parameters targeting sensitive files
  • Access logs showing requests for .env, *.crt, *.key, or other files that should be blocked by server.fs.deny
  • HTTP 200 responses for files that are configured in the deny list

Detection Strategies

  • Monitor web server access logs for requests containing suspicious query parameter combinations targeting sensitive file extensions
  • Implement Web Application Firewall (WAF) rules to detect and alert on requests attempting to access known sensitive file patterns with raw/import query parameters
  • Configure intrusion detection systems to identify patterns consistent with file disclosure attempts

Monitoring Recommendations

  • Enable detailed access logging on all Vite development server instances
  • Set up alerts for any requests targeting .env, certificate files, or other sensitive file types
  • Review network traffic for reconnaissance patterns that may indicate automated scanning for this vulnerability

How to Mitigate CVE-2026-39364

Immediate Actions Required

  • Upgrade Vite to version 7.3.2 or later for the 7.x branch
  • Upgrade Vite to version 8.0.5 or later for the 8.x branch
  • Restrict network access to development servers to trusted networks only
  • Review access logs for any evidence of exploitation attempts

Patch Information

The Vite development team has released security patches addressing this vulnerability. Version 7.3.2 fixes the issue for users on the 7.x release branch, while version 8.0.5 provides the fix for users on the 8.x branch. For complete technical details and patch information, refer to the GitHub Security Advisory GHSA-v2wj-q39q-566r.

Workarounds

  • Ensure Vite development servers are never exposed to untrusted networks or the public internet
  • Use network segmentation and firewall rules to restrict access to development environments
  • Consider implementing a reverse proxy in front of the Vite server that strips or blocks requests with the vulnerable query parameters
  • Move sensitive files outside of the project directory structure where possible

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechVite

  • SeverityHIGH

  • CVSS Score8.2

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-180
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-39363: Vite Information Disclosure Vulnerability

  • CVE-2025-32395: Vite Information Disclosure Vulnerability

  • CVE-2025-31486: Vite Information Disclosure Vulnerability

  • CVE-2024-31207: Vite Information Disclosure Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English