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

CVE-2026-123829

Node.js is vulnerable to Permission Model file-name disclosure via recursive fs.watch

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

Faible 11/100

Résumé

A Permission Model bypass in Node.js recursive file watching discloses the names of files and directories the process is not permitted to read. On macOS and Windows, fs.watch() and fs.promises.watch() in recursive mode are backed by the native libuv watcher: FSEventWrap::Start checks kFileSystemRead only once, on the watched root, and FSEventWrap::OnEvent then forwards every filename libuv reports (relative paths at any depth) to the JavaScript callback without checking that each path is covered by the read grant. Code running under --permission with an exact read grant on a directory can therefore learn names such as sub/secret.txt even though readdir on that subdirectory is denied. The flaw exposes names and timing metadata, not file contents, and requires macOS or Windows plus files created under the watched directory by another actor. This vulnerability affects Node.js 26.x, 24.x, and 22.x.

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

Produits et versions affectés

Nodejs (3 ligne(s))
Nodejs
ProduitVersionsCorrigé dansSource
node de 0.0.0 (inclus) à 22.23.5 (exclu) — CNA (éditeur ou attributeur)
node de 23.0.0 (inclus) à 24.22.3 (exclu) — CNA (éditeur ou attributeur)
node de 25.0.0 (inclus) à 26.13.1 (exclu) — CNA (éditeur ou attributeur)

Correctif

Mise à jour — 22.23.5, 24.22.3, 26.13.1source officielle

Source : CERT-FR · Ouvrir

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)
  2. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1531)
  3. — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1539)

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)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N (CVSS 3.0, CNA:openjs)
Faiblesse
CWE-200 · Divulgation d'information

Comment sont obtenues et calculées ces données