S4E just found a high-severity finding from top 10 tcp port service scan
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
high·Product Based Web Vulnerabilities·Updated Mar 30, 2026

CVE-2023-34092 Scanner

CVE-2023-34092 Scanner - Information Disclosure vulnerability in Vite Dev Server

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

Vite provides frontend tooling. Prior to versions 2.9.16, 3.2.7, 4.0.5, 4.1.5, 4.2.3, and 4.3.9, Vite Server Options (`server.fs.deny`) can be bypassed using double forward-slash (//) allows any unauthenticated user to read file from the Vite root-path of the application including the default `fs.deny` settings (`['.env', '.env.*', '*.{crt,pem}']`). Only users explicitly exposing the Vite dev server to the network (using `--host` or `server.host` config option) are affected, and only files in the immediate Vite project root folder could be exposed. This issue is fixed in [email protected], [email protected], [email protected], [email protected], [email protected], and [email protected].

Attack Vector
Network
Privileges Req.
None
User Interaction
None
Affected
viteby vitejs
< 2.9.16
Updated Aug 22, 2026View on NVD →
Detail

Vite Dev Server is a development server used for building and debugging Vite applications, typically utilized by developers in JavaScript and frontend application projects. It provides a hot module replacement feature that enhances the development experience, fostering a fast and efficient development cycle. The server is often used in conjunction with modern JavaScript frameworks such as Vue, React, or Svelte. Its primary purpose is to facilitate rapid development by creating a local server environment where developers can make code changes and instantly see results. Users operate the Vite Dev Server during the development stage of an application lifecycle. This tool is crucial for developers looking to optimize build times and streamline workflow.

The vulnerability identified in Vite Dev Server, labeled as CVE-2023-34092, is of the Information Disclosure type, which allows unauthorized access to sensitive information. This issue arises from the server's ability to read files from the Vite project root by bypassing certain server restrictions using double forward-slash paths. As a result, it can affect exposed development servers by enabling attackers to potentially read environment variables and other sensitive configurations. This vulnerability represents a critical security risk when dev servers are mistakenly exposed to the internet. Rapid identification and mitigation are essential to prevent unauthorized data exposure. Attackers exploiting this vulnerability could potentially gather crucial data without needing authentication.

The vulnerability details reveal that the Vite Dev Server mistakenly allows access to particular file paths due to inadequate validation of URL paths that contain repeated forward slashes. The server.fs.deny list is intended to prevent this kind of file reading; however, the bypass allows attackers to circumvent these restrictions. By sending crafted requests that include formatted paths, attackers can trigger the disclosure of contents from sensitive files. The flaw is particularly problematic for files like .env, which may contain secrets and configuration data critical to the security of the application. Thus, targeted attacks could focus on this flaw to gain unauthorized access to information and configuration data.

When exploited, this vulnerability could lead to significant security issues, particularly involving data breaches that expose sensitive information. The potential effects include the exposure of environment variables, such as API keys, database credentials, and other critical system configurations that are typically defined within the .env file. This unauthorized access can allow attackers to compromise system integrity, abuse leaked credentials for further exploitation, and initiate deeper intrusions into the affected systems. Consequently, businesses could experience data theft, unauthorized transactions, or significant operational disruptions.

REFERENCES

Solution Advice
  • Limit the exposure of the Vite Dev Server to trusted networks, ensuring it is not publicly accessible.
  • Regularly update the Vite Dev Server to incorporate the latest security patches and fixes.
  • Implement access controls to restrict the reading of sensitive files such as .env, utilizing server configurations to enforce strong path denial policies.
  • Audit development configurations regularly to ensure that sensitive information is adequately protected.
  • Educate development teams on secure coding practices to prevent improper configurations during development.

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.

CVE-2023-34092 Scanner - Information Disclosure vulnerability in Vite Dev Server | S4E