> CVE-2026-42334 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-05-14 18:16
MODIFIED
2026-05-14 18:26
CVSS_SCORE V3
7.5
EPSS (Prob. Exploit)
0.27%
Top 80.2%
DATA SOURCES:
NVD đź”— 2026-05-14 CWE MITRE đź”— 2026-11-01 FIRST EPSS đź”— 2026-11-01 GITHUB đź”— 2026-11-05 OSV đź”— 2026-11-02

> DESCRIPTION

Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Prior to 6.13.9, 7.8.9, 8.22.1, and 9.1.6, a vulnerability allows bypassing Mongoose’s sanitizeFilter query sanitization mechanism via the $nor operator. When sanitizeFilter is enabled, Mongoose wraps query operators in $eq to neutralize them. However, prior to the fix, $nor was not included in the set of logical operators that are recursively sanitized. Because $nor accepts an array (like $and and $or), and arrays do not trigger hasDollarKeys(), malicious operators such as $ne, $gt, or $regex could be injected inside a $nor clause without being sanitized. This vulnerability is fixed in 6.13.9, 7.8.9, 8.22.1, and 9.1.6.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EXPLOITABILITY
3.9
IMPACT
3.6

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-74

> CWE DETAILED DESCRIPTIONS

CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component - The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

> GITHUB SECURITY ADVISORY

GHSA-wpg9-53fq-2r8h HIGH

Mongoose's Improper Sanitization of $nor in sanitizeFilter May Allow NoSQL Injection

AFFECTED PACKAGES:
NPM / mongoose
>= 9.0.0, <= 9.1.5
Fixed in: 9.1.6
NPM / mongoose
>= 8.0.0, <= 8.22.0
Fixed in: 8.22.1
NPM / mongoose
>= 7.0.0, <= 7.8.8
Fixed in: 7.8.9
NPM / mongoose
< 6.13.9
Fixed in: 6.13.9

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Mongoose: Improper Sanitization of $nor in sanitizeFilter May Allow NoSQL Injection

AFFECTED PACKAGES:
Unknown / Unknown
713 versions affected
ALIASES:
BIT-mongoose-2026-42334, GHSA-wpg9-53fq-2r8h

> HISTORIQUE DES MODIFICATIONS

Première apparition
14/05/2026 18:16
Source: NVD
📊 ENRICHISSEMENT 01/11/2026 06:59
CWE
Champ modifié: Description CWE
Ancienne valeur:
CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') - The product constructs all or part of a command, data structure, or record using externally...
Nouvelle valeur:
CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component - The product constructs all or part of a command, data structure, or record using externally-influenced in...
📊 ENRICHISSEMENT 01/06/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') - The product constructs all or part of a command, data structure, or record using externally...
Total des modifications: 2 Dernière mise à jour: 6 days ago

> REFERENCES

https://github.com/Automattic/mongoose/security/advisories/GHSA-wpg9-53fq-2r8h
« BACK_TO_HOME