- Accueil
- Vulnérabilités
- CVE-2026-140098
CVE-2026-140098
Vite [beta only]: files otuside `server.fs.allow` and not included in `server.fs.deny` can be served by two requests using `?worker`
Résumé
Vite is a frontend tooling framework for JavaScript. In 8.4.0-beta.1, a network-exposed development server can register a request-chosen file outside server.fs.allow in config.environments.client.safeModulePaths when processing ?worker&import or ?sharedworker&import, while ?wasm, ?init&import, and ?source&import can register request-chosen .wasm files through the same mechanism. An unauthenticated attacker can first request an outside path with one of the applicable queries and then request the same path normally, causing the safe-path check to bypass server.fs.allow and disclose the file unless server.fs.deny matches it. This issue is fixed in 8.4.0-beta.2.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Vitejs (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Vite | Versions non précisées | — | CNA (éditeur ou attributeur) |
npm (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| vite | de 8.4.0-beta.1 (inclus) à 8.4.0-beta.2 (exclu) |
8.4.0-beta.2 |
GitHub Advisory |
Correctif
Mise à jour — npm/vite 8.4.0-beta.2source officielle
Source : GitHub Advisory
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
- GHSA-qppr-rxr4-jjq2 — Vite [beta only]: files otuside `server.fs.allow` and not included in `server.fs.deny` can be served by two requests using `?worker` 1 déc. 2026
Références
- https://github.com/vitejs/vite/security/advisories/GHSA-qppr-rxr4-jjq2x_refsource_CONFIRM
- https://github.com/vitejs/vite/pull/23168x_refsource_MISC
- https://github.com/vitejs/vite/pull/24206x_refsource_MISC
- https://github.com/vitejs/vite/commit/a78fb8a28db01e83611120012bd5d1189bab68aax_refsource_MISC
- https://github.com/vitejs/vite/commit/e258ce140eef64cf89ff38c410125abd8726f274x_refsource_MISC
- https://github.com/vitejs/vite/releases/tag/v8.4.0-beta.2x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-140098ADVISORY
- 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:H/SI:N/SA:N(CVSS 4.0, CNA:GitHub_M)- Faiblesse
- CWE-200 · Divulgation d'information