Black Friday60% off BLACKFRIDAY2026
Platform
PlansPartners
Resources
ToolsBlogDocs
Sign Up →
medium·Product Based Web Vulnerabilities·Updated Nov 23, 2026

CVE-2026-112947 Scanner

CVE-2026-112947 Scanner - Arbitrary File Disclosure vulnerability in Vite Dev Server

How to fix it
Est. Time~10 seconds
Scan TypeGroup Scan
Targetsdomain, subdomain, ipv4
CostFree
0
Times Used
continuous scan runs
4.6k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
6.3
CVSSmedium
Exploitable remotely over the internet · no authentication required.
Description

Vite is a frontend tooling framework for JavaScript. From 8.2.0 until 8.2.4 and 8.3.3, the first 4 bytes of files outside of server.fs setting can be returned to the browser by a request containing ?vite-wasm-instance. Requests containing the ?vite-wasm-instance query are handled by the internal Wasm plugin's load hook. The hook removes the query and reads the resulting path directly from disk, but the server.fs checks were not applied. After reading the file, Vite attempts to parse it as WebAssembly. When that parse fails, Node and deno throws an error that contains the first 4 bytes of the file. This vulnerability is fixed in 8.2.4 and 8.3.3.

Attack Vector
Network
Privileges Req.
None
User Interaction
None
Affected
viteby vitejs
>= 8.3.0, < 8.3.3
vite-plusby vitejs
>= 0.2.8, < 1.1.0
Updated Nov 29, 2026View on NVD →
Detail

The Vite Dev Server is a widely used tool within the web development community, allowing developers to efficiently serve and build web applications. Primarily used in conjunction with Node.js and Deno, it provides fast refresh and module replacement capabilities. This server is often found in development environments where rapid iteration is crucial. Developers use Vite for its ability to seamlessly integrate with popular JavaScript frameworks. Because of the nature of its operation, Vite Dev Server is frequently exposed to local and network environments. Ensuring its security is paramount to prevent unauthorized access and data leakage.

Arbitrary File Disclosure vulnerabilities pose a significant risk by allowing attackers to access unauthorized files. These vulnerabilities can expose sensitive information, such as configuration files or environment variables, to malicious entities. In the specific context of the Vite Dev Server, the vulnerability resides in its handling of special request queries. When exploited, attackers can bypass server checks intended to restrict file access. Understanding the mechanics of this vulnerability is critical for implementing effective countermeasures. The unauthorized retrieval of even partial file content can be a stepping stone for further attacks on the server.

The vulnerability in the Vite Dev Server arises from requests with the ?vite-wasm-instance query. This query triggers the internal vite:wasm-helper plugin, which erroneously processes requests and accesses files without thorough server.fs checks. The query effectively circumvents standard access controls that would typically deny such requests. During this process, the server returns the first 4 bytes of the file contents, providing attackers with both file existence confirmation and partial data exposure. This flaw affects a specific range of Vite versions, necessitating targeted updates for mitigation. The vulnerability emphasizes the importance of robust request validation mechanisms.

When an Arbitrary File Disclosure vulnerability is exploited, it can lead to severe security implications, including data breaches and unauthorized information access. The disclosure of file contents might reveal critical system configurations, user credentials, and proprietary data. Attackers can leverage this information for various malicious activities, such as lateral movement within a network or configuration tampering. Continuous exposure to such vulnerabilities increases the likelihood of exploitation by attackers. Defensive measures must be employed promptly to mitigate potential data leaks, ensure the safety of sensitive information, and maintain server integrity.

REFERENCES

Solution Advice
Remediation:
  • Update Vite Dev Server to version 8.2.4, 8.3.3, or later to patch the vulnerability.
  • Avoid exposing the development server to untrusted network environments.
  • Utilize network security groups or firewalls to restrict access to the Vite Dev Server.
  • Regularly monitor server logs for suspicious access patterns indicating potential exploitation attempts.
  • Implement intrusion detection systems to alert when unusual file access occurs.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

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

Browse All Tools