- Accueil
- Vulnérabilités
- CVE-2026-112947
CVE-2026-112947
Vite: First 4 bytes of files outside of `server.fs` setting is exposed by `?vite-wasm-instance`
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))
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.yamlSource : Ouvrir
Modules et modèles publics
- Modèle de détection Nuclei · https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-112947.yaml
Chronologie
- — Publication de la CVE (cve)
- — Modèle de détection Nuclei (nuclei) date de première observation
Avis CERT-FR
- GHSA-vfpm-58rq-9qcg — Vite: First 4 bytes of files outside of `server.fs` setting is exposed by `?vite-wasm-instance` 21 oct. 2026
Références
- https://github.com/vitejs/vite/security/advisories/GHSA-vfpm-58rq-9qcgx_refsource_CONFIRM
- https://github.com/vitejs/vite/pull/23655x_refsource_MISC
- https://github.com/vitejs/vite/commit/b6c6d2fb3f853aab4092dc25f0d6816a96c23dffx_refsource_MISC
- https://github.com/vitejs/vite/commit/ba8b7ab43b4afa5d0292ab4b6e3a7b5033cc9c73x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-112947ADVISORY
- https://github.com/vitejs/vitePACKAGE
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