CVEFinder.io

CVE-2026-42334

⚠️ high
🔍 Scan for this CVE
Summary

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),

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.

CVSS Score
7.5
High
EPSS Score
0.0
Exploit Probability
Published Date
2026-05-14
First Seen: 2026-05-17
📊 Relative Risk Intelligence

This CVE is Moderate Risk - more severe than 68.9% of all 336,041 vulnerabilities in our database.

#104,670
Above average severity
Severity Percentile
🎯 CISA SSVC Assessment Updated: May 14, 2026
🔍 Exploitation Status
None
No known exploits
⚙️ Automatable
YES
Can be exploited automatically
💥 Technical Impact
Partial
Limited system impact
SSVC data provided by CISA
Last Modified 2026-05-15
Source NVD 🔗
CVSS Vector 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CWE IDs (Weakness Types)

📦 Affected Products 4

🔗 References 1

🔗 Related CVEs 5

CVE ID Severity CVSS EPSS Summary Published
CVE-2025-23061 ⛔ critical 9.0 64.8 Mongoose before 8.9.5 can improperly use a nested $where filter with a populate() match, leading to search injection. NO... 2025-01-15
CVE-2024-53900 ⛔ critical 9.1 45.9 Mongoose before 8.8.3 can improperly use $where in match, leading to search injection. 2024-12-02
CVE-2023-3696 ⛔ critical 9.8 0.3 Prototype Pollution in GitHub repository automattic/mongoose prior to 7.3.4. 2023-07-17
CVE-2022-2564 ⛔ critical 9.8 2.9 Prototype Pollution in GitHub repository automattic/mongoose prior to 6.4.6. 2022-07-28
CVE-2019-17426 ⛔ critical 9.1 0.2 Automattic Mongoose through 5.7.4 allows attackers to bypass access control (in some applications) because any query obj... 2019-10-10
These CVEs affect the same products