CVE-2026-42334: automattic mongoose Injection
Vulnerability summary
CVE-2026-42334 is a high (CVSS 7.5) Injection vulnerability in automattic mongoose. EPSS estimates a 0.46% chance of exploitation in the next 30 days, higher than 38.9% of scored vulnerabilities.
Timeline
- 14-05-2026PublishedVulnerability first disclosed.
- 14-05-2026Last modifiedVulnerability information updated.
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 metrics
3 scores · 3 sources · 1 version- OSV · NpmEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.46%
Chance of exploitation in the next 30 days
Percentile
39%
Versus all other CVEs
30-day change
+0.19 pp
From 0.27% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Automattic1 product
- mongoose< 6.13.9 | ≥ 7.0.0, ≤ 7.8.8 | ≥ 8.0.0, ≤ 8.22.0 | ≥ 9.0.0, ≤ 9.1.5
Mongoosejs1 product
- mongoose< 6.13.9 | ≥ 7.0.0, < 7.8.9 | ≥ 8.0.0, < 8.22.1 | ≥ 9.0.0, < 9.1.6
Npm1 product
- mongoose< 6.13.9 | ≥ 7.0.0, < 7.8.9 | ≥ 8.0.0, < 8.22.1 | ≥ 9.0.0, < 9.1.6
3 vendors · 3 products
References
5 links- github.com/Automattic/mongoose/security/advisories/GHSA-wpg9-53fq-2r8hX Refsource CONFIRMWEBMitigationVendor Advisory