CVE-2026-112947: First 4 bytes of files outside of `server.fs` setting is exposed by `?vite-wasm-instance`
Affects viteSource GCVE Database
Not known to be exploited · CVSS 6.3 Medium : upgrade to 8.3.3 when convenient.
Data as of 13 Nov 2026, 21:06 UTC
- Patch
- Available – fixed in 8.3.3
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 20 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.
What to do
Upgrade vite to 8.3.3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewvitepkg:brew/viteOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Vite to version 8.3.3 or later, where this vulnerability is fixed. Until then, avoid exposing the Vite dev server to the network or ensure that no sensitive information is stored in the first 4 bytes of files outside the server.fs directory. No other mitigations are indicated by the vendor advisory.
Description
A vulnerability in Vite versions 8.2.0 up to but not including 8.3.3 allows an attacker to retrieve the first 4 bytes of files outside the configured server.fs directory by sending a request with the ?vite-wasm-instance query. This occurs because the internal Wasm plugin's load hook reads files without applying server.fs restrictions and exposes the first 4 bytes in error messages when WebAssembly parsing fails. The issue affects setups where the Vite dev server is exposed to the network and is run using Node.js or Deno. A fix is available in version 8.3.3.
References
- github.com/vitejs/vite/security/advisories/GHSA-vfpm-58rq-9qcg (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-112947 (opens in a new tab)
- github.com/vitejs/vite/pull/23655 (opens in a new tab)
- github.com/vitejs/vite/commit/b6c6d2fb3f853aab4092dc25f0d6816a96c23dff (opens in a new tab)
- github.com/vitejs/vite/commit/ba8b7ab43b4afa5d0292ab4b6e3a7b5033cc9c73 (opens in a new tab)
- github.com/vitejs/vite (opens in a new tab)