CVE-2026-112947CWE-200CWE-209CWE-22path-traversalinformation-disclosure

CVE-2026-112947

published October 20, 2026

CVSS
6.3
EPSS
0%
Percentile
35.5
In the wild
Unconfirmed
What it is

Vite is a frontend tooling framework for JavaScript. 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 browser by a request containing ?vite-wasm-instance. Requests containing the ?vite-wasm-instance query are handled by the internal Wasm plugin's load hook. The hook removes the query and reads the resulting path directly from disk, but the server.fs checks were not applied. After reading the file, Vite attempts to parse it as WebAssembly. When that parse fails, Node and deno throws an error that contains the first 4 bytes of the file. This vulnerability is fixed in 8.2.4 and 8.3.3.

The record
Technical detail
CVSS
6.3 · NONE
CVSS v4.0
6.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
EPSS
0.00422 · 35.5th percentile
Weaknesses
CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor; CWE-209 · Generation of Error Message Containing Sensitive Information; CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2026-10-20T20:17Z
References (4)
EPSS history
Timeline
  • 22 OCT 03:29Z
    EPSS moved — → 0%
    epss
  • 20 OCT 15:10Z
    Vite: First 4 bytes of files outside of `server.fs` setting is exposed by `?vite-wasm-instance`
    cvelistv5
  • 20 OCT 15:10Z
    Vite: First 4 bytes of files outside of `server.fs` setting is exposed by `?vite-wasm-instance`
    cvelistv5