1. Accueil
  2. Vulnérabilités
  3. 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`

Publiée le 30 nov. 2026 · modifiée le 1 déc. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Moyen 44/100

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))
Vitejs
ProduitVersionsCorrigé dansSource
Vite Versions non précisées — CNA (éditeur ou attributeur)
npm (1 ligne(s))
npm
ProduitVersionsCorrigé dansSource
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

  1. — Publication de la CVE (cve)

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:H/SI:N/SA:N (CVSS 4.0, CNA:GitHub_M)
Faiblesse
CWE-200 · Divulgation d'information

Comment sont obtenues et calculées ces données