Skip to main content
VulnerabilityPublished Updated

CVE-2026-112947: vitejs vite · Path Traversal

Affects vitejs viteSource CVE Database V5

0
Compare

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

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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Oct 2026

  2. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

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

    Not in CISA KEV and no source reports exploitation

  4. 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 5 Dec 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
vitejsviteAffected
  • >=8.3.0 <8.3.3
Fixed in
  • 8.3.3
vitejsviteAffected
  • >=8.2.0 <8.2.4
Fixed in
  • 8.2.4
vitejsvite-plusAffected
  • >=0.2.8 <1.1.0
Fixed in
  • 1.1.0
npmvitepkg:npm/viteOther threatsAffected
  • >=8.3.0 <8.3.3
Fixed in
  • 8.3.3
npmvitepkg:npm/viteOther threatsAffected
  • >=8.2.0 <8.2.4
Fixed in
  • 8.2.4
npmvite-pluspkg:npm/vite-plusOther threatsAffected
  • >=0.2.8 <1.1.0
Fixed in
  • 1.1.0

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

Community reviews

Loading reviews…