S4E just found a medium-severity finding from leaked token-api key scanner
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
high·Product Based Web Vulnerabilities·Updated Apr 9, 2026

CVE-2026-39364 Scanner

CVE-2026-39364 Scanner - Directory Traversal vulnerability in Vite Dev Server

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsurl
CostFree
2.7k
Times Used
continuous scan runs
5.8k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
CVECVE-2026-39364
8.2
CVSShigh
Exploitable remotely over the internet · no authentication required.

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.

Attack Vector
Network
Privileges Req.
None
User Interaction
None
Affected
viteby vitejs
>= 8.0.0, < 8.0.5
vite-plusby vitejs
< 0.1.16
Red Hat Ansible Automation Platform 2.6by Red Hat
AFFECTED< *SAFE ✓≥ *
Red Hat Advanced Cluster Security 4by Red Hat
Updated Sep 9, 2026View on NVD →
Detail

Vite Dev Server is a modern frontend build tool predominantly used by developers and organizations to streamline web application development. It enables hot module replacement and fast development cycles by serving content over a lightweight development server. Vite's architecture is designed to enhance the efficiency of programming for web platforms, providing developers with a powerful and flexible ecosystem. Its popularity stems from its ability to work seamlessly with modern JavaScript frameworks such as React, Vue, and others. The tool is particularly favored in agile environments where quick iterations are necessary, and it offers extensive configurability for custom development needs. Companies rely on Vite Dev Server for its robust toolset, which facilitates high-speed prototyping and development.

The directory traversal vulnerability in Vite Dev Server concerns the ability of unauthenticated attackers to access forbidden directories and files within the server root. By exploiting this issue, attackers can bypass server restrictions specifically designed to protect sensitive information. This vulnerability is rooted in the server's improper handling of file path parameters, which can be manipulated to traverse directories. Consequently, the attack allows unauthorized file access, including critical configuration and environment files typically secured by the server configuration. The vulnerability has been identified in versions before 6.4.3, 6.3.4, and 5.4.23, making it crucial for users to apply patches. This exposure jeopardizes information confidentiality by giving observers the ability to read or hire sensitive data.

In technical terms, the vulnerability allows attackers to craft HTTP requests containing path segments with dot-segment sequences that bypass static file restrictions. These sequences can manipulate the request path to traverse directories improperly. The exploitation of this flaw enables unauthorized access to files like .env or other configuration files, sidestepping server restrictions in place to secure these resources. The flaw primarily affects instances of Vite dev servers configured with specific options that expose the service to potential directory traversal. Security experts emphasize immediate action to rectify the server configurations and apply patches. By engaging this vulnerability, a threat actor may manifest significant security breaches.

Exploitation of this directory traversal vulnerability could provide attackers with unauthorized access to sensitive files. These files may include environment variables, credentials, API keys, and other security-sensitive configurations. Such access can lead to data breaches, unauthorized data manipulation, or further vulnerabilities being exposed for exploitation. The risk of confidential information being leaked could have severe repercussions for organizations using Vite Dev Server. This exposure may lead to financial loss, reputational damage, or escalated attacks if credentials are harvested and employed maliciously. Thus, unaddressed directory traversal vulnerabilities pose substantial risks to affected systems and require prompt rectification.

REFERENCES

Solution Advice
  • Update Vite Dev Server to the latest patched versions 6.4.3, 6.3.4, or 5.4.23 to mitigate the vulnerability.
  • Implement additional input validation to prevent unauthorized path traversal attempts on user input.
  • Regularly review server configuration settings to ensure restricted file access is enforced correctly.
  • Employ web application firewalls to detect and block directory traversal attempts swiftly.
  • Conduct regular security audits and vulnerability assessments to identify and resolve similar exposures.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.