Skip to main content
CVE-2026-112947VulnerabilityPublished Updated

Vite: 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

Affects viteSource GCVE Database

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

Not known to be exploited · CVSS 6.3 Medium · fixed in 8.2.4 : update vite when convenient.

Data as of 28 Oct 2026, 23:28 UTC

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 8.2.4
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. Weaponised: 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 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10vitepkg:deb/ubuntu/vite?arch=source&distro=stonkingOther threatsAffected
  • =1.4-6
  • =1.4-6build1
Fixed in–
Ubuntu 26.04 LTSvitepkg:deb/ubuntu/vite?arch=source&distro=resoluteOther threatsAffected
  • 1.4-1 – 1.4-6
4 affected builds
Fixed in–
Ubuntu 24.04 LTSvitepkg:deb/ubuntu/vite?arch=source&distro=nobleOther threatsAffected
  • =1.2+svn+git4.c6c0ce7-8
  • =1.2+svn+git4.c6c0ce7-8build1
  • =1.2+svn+git4.c6c0ce7-8build2
Fixed in–
Ubuntu 22.04 LTSvitepkg:deb/ubuntu/vite?arch=source&distro=jammyOther threatsAffected
  • =1.2+svn+git4.c6c0ce7-3
  • =1.2+svn+git4.c6c0ce7-4
Fixed in–
Ubuntu 20.04 LTSvitepkg:deb/ubuntu/vite?arch=source&distro=focalOther threatsAffected
  • =1.2+svn1430-6
  • =1.2+svn1430-6build1
Fixed in–
Ubuntu 18.04 LTSvitepkg:deb/ubuntu/vite?arch=source&distro=bionicOther threatsAffected
  • =1.2+svn1430-5
  • =1.2+svn1430-6
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.2.4 or 8.3.3 or later where this vulnerability is fixed. No other mitigations are indicated by the vendor advisory.

Description

Vite versions from 8.2.0 up to but not including 8.2.4 and version 8.3.3 have a vulnerability where the first 4 bytes of files outside the configured server.fs directory can be exposed to the browser. This occurs when a request includes the ?vite-wasm-instance query, which bypasses server.fs path checks and causes an error revealing file content. The issue is fixed in versions 8.2.4 and 8.3.3.

References

Community reviews

Loading reviews…