Skip to main content
VulnerabilityPublished Updated

CVE-2026-112947: First 4 bytes of files outside of `server.fs` setting is exposed by `?vite-wasm-instance`

Affects viteSource GCVE Database

0
Compare
Authoritative record:CVE-2026-112947· Medium 6.3

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

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Homebrewvitepkg:brew/viteOther threatsAffected
  • >=8.2.0 <8.3.3
Fixed in
  • 8.3.3

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

Community reviews

Loading reviews…