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

CVE-2026-140006

minimatch: minimatch.escape() output matches more or less than the literal input

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

Faible 37/100

Résumé

minimatch is a minimal matching utility for converting glob expressions into JavaScript RegExp objects. From 7.4.0 until 11.0.8, minimatch.escape() can produce patterns that do not exclusively match the supplied literal input: leading ! can become negation, leading # can become a comment, braceExpand() can collapse an escaped backslash and reactivate a following magic character when an expanded brace group is present and the installed brace-expansion release has the affected behavior (2.x or 5.0.4 through 5.0.12), and windowsPathsNoEscape combined with magicalBraces can leave braces active. Applications that escape attacker-controlled text and then use the result as an authorization, filtering, or path-selection pattern may match unintended strings or fail to match the intended literal. This issue is fixed in version 11.0.8.

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

Produits et versions affectés

Isaacs (1 ligne(s))
Isaacs
ProduitVersionsCorrigé dansSource
minimatch Versions non précisées — CNA (éditeur ou attributeur)
npm (1 ligne(s))
npm
ProduitVersionsCorrigé dansSource
minimatch de 7.4.0 (inclus) à 11.0.8 (exclu) 11.0.8 GitHub Advisory

Correctif

Mise à jour — npm/minimatch 11.0.8source officielle

Source : GitHub Advisory

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Exploit signalé par les sources

Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.

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:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N (CVSS 3.1, CNA:GitHub_M)
Faiblesse
CWE-116 · Autre (CWE-116)

Comment sont obtenues et calculées ces données