CVE-2026-112947: vitejs vite · Path Traversal
Affects vitejs viteSource CVE Database V5
Not known to be exploited · public detection template (Nuclei) · CVSS 6.3 Medium : upgrade to 8.3.3 or 8.2.4 when convenient.
Data as of 4 Dec 2026, 18:36 UTC
- EPSS
- 1.1% chance of exploitation in 30 days – higher than 69% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 8.3.3, 8.2.4, 1.1.0
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: evidence found.
nuclei template: Vite Dev Server - server.fs Bypass via vite-wasm-instance
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 5 Dec 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| vitejsvite | Affected
| Fixed in
|
| vitejsvite | Affected
| Fixed in
|
| vitejsvite-plus | Affected
| Fixed in
|
npmvitepkg:npm/viteOther threats | Affected
| Fixed in
|
npmvitepkg:npm/viteOther threats | Affected
| Fixed in
|
npmvite-pluspkg:npm/vite-plusOther 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 versions 1.1.0, 8.2.4, or 8.3.3 or later where this vulnerability is fixed. Avoid exposing the Vite dev server to the network unless necessary. If exposure is required, ensure sensitive information is not stored in the first 4 bytes of files accessible by the server. No other mitigations are specified by the vendor.
Description
CVE-2026-112947 is a path traversal vulnerability in the Vite development server that allows an attacker to retrieve the first 4 bytes of arbitrary files on disk by sending a request with the query parameter '?vite-wasm-instance'. This occurs because the internal Wasm plugin's load hook reads files without applying server.fs access restrictions. The vulnerability affects Vite versions >=0.2.8 <1.1.0, >=8.2.0 <8.2.4, and >=8.3.0 <8.3.3. It only impacts applications that expose the Vite dev server to the network, run on Node.js or Deno, and have sensitive information in the first 4 bytes of a file. The issue is fixed in versions 1.1.0, 8.2.4, and 8.3.3.
References
- github.com/vitejs/vite/security/advisories/GHSA-vfpm-58rq-9qcg (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)