Vite: First 4 bytes of files outside of `server.fs` setting is exposed by `?vite-wasm-instance` (vitejs vite)
En bref
- Source
- NVD
- EPSS
- EPSS 1.20 % · centile 69 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- GitHub_M
- Produits affectés
- vitejs · vite
vitejs · vite-plus - Statut NVD
- Awaiting Analysis
Rechercher sur…
Description
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.
Faiblesses (CWE)
- CWE-22 — Traversée de répertoire
- CWE-200 — Exposition d'informations sensibles à un acteur non autorisé
- CWE-209 — Message d'erreur contenant des informations sensibles
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 4.0 | MEDIUM 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 | GitHub_M |
| CVSS 4.0 | MEDIUM 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD · security-advisories@github.com (Secondary) |
Avis
- GHSA-vfpm-58rq-9qcg — Vite: First 4 bytes of files outside of `server.fs` setting is exposed by `?vite-wasm-instance`
Références européennes
- ENISA EUVD · EUVD-2026-105135
- GCVE · GCVE-0-2026-112947
Produits affectés
| Produit | Versions affectées |
|---|---|
| vitejs · vite | affectée : >= 8.3.0, < 8.3.3 affectée : >= 8.2.0, < 8.2.4 |
| vitejs · vite-plus | affectée : >= 0.2.8, < 1.1.0 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |