ADVISORIES

Vulnerability

CVE-2026-112947

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.

10 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Chainguard 8Ubuntu 1npm 1

Advisories

  • CGA-45v8-73hh-6562
    CVE-2026-112947 Chainguard Updated 23 October 2026
  • CGA-496f-4vmp-xf57
    CVE-2026-112947 Chainguard Updated 23 October 2026
  • CGA-4hj9-66q6-xrc4
    CVE-2026-112947 Chainguard Updated 23 October 2026
  • CGA-5jf5-j77x-5cm6
    CVE-2026-112947 Chainguard Updated 23 October 2026
  • CGA-gffw-jv36-5x9j
    CVE-2026-112947 Chainguard Updated 23 October 2026
  • CGA-m7p5-mfcq-m2x5
    CVE-2026-112947 Chainguard Updated 23 October 2026
  • CGA-p8g3-wj2x-hj4h
    CVE-2026-112947 Chainguard Updated 23 October 2026
  • CGA-qgj2-mj2j-4x53
    CVE-2026-112947 Chainguard Updated 24 October 2026
  • GHSA-vfpm-58rq-9qcg

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

    Moderate CVE-2026-112947 npm Updated 21 October 2026
  • UBUNTU-CVE-2026-112947

    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.…

    CVE-2026-112947 Ubuntu Updated 24 November 2026

References