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

CVE-2025-46565 Scanner

CVE-2025-46565 Scanner - Information Disclosure vulnerability in Vite Dev Server

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsurl
CostFree
3k
Times Used
continuous scan runs
5.8k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
CVECVE-2025-46565
6.0
CVSSmedium
Exploitable remotely over the internet · no authentication required.

Vite is a frontend tooling framework for javascript. Prior to versions 6.3.4, 6.2.7, 6.1.6, 5.4.19, and 4.5.14, the contents of files in the project root that are denied by a file matching pattern can be returned to the browser. Only apps explicitly exposing the Vite dev server to the network (using --host or server.host config option) are affected. Only files that are under project root and are denied by a file matching pattern can be bypassed. `server.fs.deny` can contain patterns matching against files (by default it includes .env, .env.*, *.{crt,pem} as such patterns). These patterns were able to bypass for files under `root` by using a combination of slash and dot (/.). This issue has been patched in versions 6.3.4, 6.2.7, 6.1.6, 5.4.19, and 4.5.14.

Attack Vector
Network
Privileges Req.
None
User Interaction
P
Affected
viteby vitejs
>= 6.3.0, < 6.3.4
Updated Aug 22, 2026View on NVD →
Detail

The Vite Dev Server is primarily utilized by developers and organizations involved in front-end development projects. It is a highly efficient tooling framework designed for modern JavaScript applications. Used mainly in environments requiring rapid frontend building, the software provides necessary features to streamline development workflows. Developers use it to create client-side applications efficiently by eliminating bundling time and enabling direct development on source files. Its flexible configuration options make it desirable for both small projects and large enterprise applications. The dev server can be made public when configured with certain options, posing potential security risks if not carefully managed.

The vulnerability identified in the Vite Dev Server relates to the improper handling of file patterns, allowing for certain file contents to be exposed to unauthorized clients. Specifically, the vulnerability affects applications that expose the Vite dev server to a network, utilizing configurations like --host or server.host. This disclosure occurs when certain disallowed files are accessed due to a bypass technique involving slashes and dots. This security concern has been fixed in the subsequent versions of the product. Detection of such vulnerabilities is integral in maintaining the integrity and confidentiality of sensitive information.

Technical details suggest that this vulnerability arises because certain files in the project root, which should be inaccessible, can potentially be retrieved by bypassing the deny patterns. Specifically, files that match patterns under the 'server.fs.deny' configuration can be inadvertently exposed. Manipulating file requests to include combinations of slash and dot (/.), bypasses the server's denial mechanisms for accessing files like environment (.env) and certificate files (.crt, .pem). The exposure vector exploits this misconfiguration to send unauthorized file access requests and receive data back.

If exploited by malicious individuals, this vulnerability can lead to unauthorized information retrieval, potentially exposing sensitive data like environment variables, which may include secrets and other confidential configuration data. The exposure of such data could facilitate further attacks, like compromising other systems using leaked credentials or sensitive data found in the files. Organizations might face reputational damage, financial loss, and legal implications in case of a data breach.

REFERENCES

Solution Advice
  • Upgrade the Vite Dev Server to version 6.3.4, 6.2.7, 6.1.6, 5.4.19, or 4.5.14, or later.
  • Limit the network exposure of the Vite Dev Server by using internal network configurations instead of exposing the dev server to the public network.
  • Review 'server.fs.deny' patterns to ensure sensitive file access is properly restricted.
  • Conduct regular security audits and vulnerability assessments to catch and fix similar misconfigurations.
  • Implement environment hardening practices to prevent unauthorized information exposure.

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.