# CVE-2026-112947: Vite - Path Traversal

> Live exploitation tracking for CVE-2026-112947 by the CrowdSec Live Exploit Tracker, built from real-world attack data crowdsourced from CrowdSec's global network.

Page: https://tracker.crowdsec.net/cves/CVE-2026-112947

## Key facts

- **Exploitation phase:** Limited Exploitation. The vulnerability is known but shows very limited attacker interest or exploitation activity.
- **CVSS score:** 6.3
- **Public exploit available:** Yes
- **Affected products:** Vitejs Vite, Vitejs Vite-plus
- **Weaknesses:** CWE-22 (Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')); CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor); CWE-209 (Generation of Error Message Containing Sensitive Information)
- **Tags:** javascript

## 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.

## CrowdSec analysis

[CVE-2026-112947](https://euvd.enisa.europa.eu/vulnerability/CVE-2026-112947) is a path traversal vulnerability in Vite and vite-plus that bypasses configured filesystem restrictions when processing requests containing the `?vite-wasm-instance` query. An unauthenticated remote attacker may exploit this flaw to disclose the first four bytes of files outside the allowed directory, potentially exposing limited sensitive information. The issue is fixed in Vite 8.2.4 and 8.3.3.

CrowdSec has been tracking this vulnerability and its exploits since 24th of November 2026.

CrowdSec has not observed any significant exploitation activity targeting CVE-2026-112947 across its network. As a result, no community-driven trend analysis is available for this vulnerability at this time.

Attackers target Vite’s `/@fs/` endpoint with the `vite-wasm-instance` query parameter to bypass filesystem restrictions and probe or disclose files. Requests such as `/@fs/etc/passwd?vite-wasm-instance` may trigger an error that reveals the file’s first four bytes.

## Timeline

- 2026-10-20: CVE Published. CVE-2026-112947 is published to NVD.
- 2026-11-24: Rule Released. CrowdSec releases a rule to detect CVE-2026-112947 exploitation attempts against the CrowdSec Network.

## References

- https://github.com/vitejs/vite/commit/b6c6d2fb3f853aab4092dc25f0d6816a96c23dff
- https://github.com/vitejs/vite/commit/ba8b7ab43b4afa5d0292ab4b6e3a7b5033cc9c73
- https://github.com/vitejs/vite/security/advisories/GHSA-vfpm-58rq-9qcg
- https://github.com/vitejs/vite/pull/23655
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-112947.yaml

## Live exploitation data

The [Live Exploit Tracker page](https://tracker.crowdsec.net/cves/CVE-2026-112947) follows observed exploitation activity for CVE-2026-112947. [Request an API key](https://tracker.crowdsec.net/request-api-key) for full access to its exploitation timeline, attacking IP addresses and blocklists.
