- Accueil
- Vulnérabilités
- CVE-2026-125120
CVE-2026-125120
Mongoose: sanitizeFilter not applied on countDocuments
Résumé
Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Prior to 6.13.11, 7.8.12, 8.24.3, and 9.9.2, Mongoose countDocuments() does not apply the configured sanitizeFilter query selector injection defense. An application that enables sanitizeFilter and passes attacker-controlled filter values to countDocuments() can therefore process query operator objects as operators rather than literal values, causing the count to include documents that should not match and potentially undermining authorization or application logic based on that count. This issue is fixed in versions 6.13.11, 7.8.12, 8.24.3, and 9.9.2.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Automattic (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| mongoose | Versions non précisées | — | CNA (éditeur ou attributeur) |
npm (4 ligne(s))
Correctif
Mise à jour — npm/mongoose 6.13.11; npm/mongoose 7.8.12; npm/mongoose 8.24.3; npm/mongoose 9.9.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-pcrw-h46h-c93h — Mongoose: sanitizeFilter not applied on countDocuments 10 nov. 2026
Références
- https://github.com/Automattic/mongoose/security/advisories/GHSA-pcrw-h46h-c93hx_refsource_CONFIRM
- https://github.com/Automattic/mongoose/commit/7e912af3fac52cb0eea4cd71e24d65318916831ax_refsource_MISC
- https://github.com/Automattic/mongoose/commit/8b10d5760bb181f5bf5d01495cde161c8aed0557x_refsource_MISC
- https://github.com/Automattic/mongoose/commit/b1df045aab076b740fdaec14a15a44c694b85b7dx_refsource_MISC
- https://github.com/Automattic/mongoose/commit/b5003d3915db1cf9209c38a4b93cf3a92cddd710x_refsource_MISC
- https://github.com/Automattic/mongoose/releases/tag/6.13.11x_refsource_MISC
- https://github.com/Automattic/mongoose/releases/tag/7.8.12x_refsource_MISC
- https://github.com/Automattic/mongoose/releases/tag/8.24.3x_refsource_MISC
- https://github.com/Automattic/mongoose/releases/tag/9.9.2x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-125120ADVISORY
- https://github.com/Automattic/mongoosePACKAGE
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:N/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1, CNA:GitHub_M)- Faiblesse
- CWE-943 · Autre (CWE-943)