1. Accueil
  2. Vulnérabilités
  3. CVE-2026-112947

CVE-2026-112947

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

Publiée le 20 oct. 2026 · modifiée le 21 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 53/100

Résumé

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.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Vitejs (2 ligne(s))
Vitejs
ProduitVersionsCorrigé dansSource
Vite Versions non précisées — CNA (éditeur ou attributeur)
vite-plus Versions non précisées — CNA (éditeur ou attributeur)
npm (3 ligne(s))
npm
ProduitVersionsCorrigé dansSource
vite de 8.3.0 (inclus) à 8.3.3 (exclu) 8.3.3 GitHub Advisory
vite de 8.2.0 (inclus) à 8.2.4 (exclu) 8.2.4 GitHub Advisory
vite-plus de 0.2.8 (inclus) à 1.1.0 (exclu) 1.1.0 GitHub Advisory

Correctif

Mise à jour — npm/vite 8.3.3; npm/vite 8.2.4; npm/vite-plus 1.1.0source officielle

Source : GitHub Advisory

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Vite Dev Server - server.fs Bypass via vite-wasm-instancesource officielle

Modèle Nuclei

nuclei -u https://VOTRE-HOTE -t http/cves/2026/CVE-2026-112947.yaml

Source : Ouvrir

Chronologie

  1. — Publication de la CVE (cve)
  2. — Modèle de détection Nuclei (nuclei) date de première observation

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
NVD
Vecteur CVSS
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 (CVSS 4.0, CNA:GitHub_M)
Faiblesse
CWE-22 · Traversée de chemin / fichiers

Comment sont obtenues et calculées ces données