Search for vulnerabilities
| Vulnerability ID | VCID-fnw7-7c7z-5udv |
| Aliases |
CVE-2026-42334
GHSA-wpg9-53fq-2r8h |
| 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), 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. |
| Status | Published |
| Exploitability | None |
| Weighted Severity | None |
| Risk | None |
| Affected and Fixed Packages | Package Details |
| System | Score | Found at |
|---|---|---|
| epss | 0.00047 | https://api.first.org/data/v1/epss?cve=CVE-2026-42334 |
| cvssv3.1 | 7.5 | https://github.com/Automattic/mongoose |
| generic_textual | HIGH | https://github.com/Automattic/mongoose |
| cvssv3.1 | 7.5 | https://github.com/Automattic/mongoose/security/advisories/GHSA-wpg9-53fq-2r8h |
| generic_textual | HIGH | https://github.com/Automattic/mongoose/security/advisories/GHSA-wpg9-53fq-2r8h |
| ssvc | Track | https://github.com/Automattic/mongoose/security/advisories/GHSA-wpg9-53fq-2r8h |
| cvssv3.1 | 7.5 | https://mongoosejs.com/docs/api/mongoose.html#Mongoose.prototype.sanitizeFilter() |
| generic_textual | HIGH | https://mongoosejs.com/docs/api/mongoose.html#Mongoose.prototype.sanitizeFilter() |
| cvssv3.1 | 7.5 | https://nvd.nist.gov/vuln/detail/CVE-2026-42334 |
| generic_textual | HIGH | https://nvd.nist.gov/vuln/detail/CVE-2026-42334 |
| cvssv3.1 | 7.5 | https://thecodebarbarian.com/whats-new-in-mongoose-6-sanitizefilter.html |
| generic_textual | HIGH | https://thecodebarbarian.com/whats-new-in-mongoose-6-sanitizefilter.html |
| Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
|---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
| Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
|---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
| Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
|---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
| Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
|---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
| Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
|---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
| Percentile | 0.14915 |
| EPSS Score | 0.00047 |
| Published At | June 11, 2026, 12:55 p.m. |
| Date | Actor | Action | Source | VulnerableCode Version |
|---|---|---|---|---|
| 2026-06-11T16:44:13.167648+00:00 | Vulnrichment | Import | https://github.com/cisagov/vulnrichment/blob/develop/2026/42xxx/CVE-2026-42334.json | 38.6.0 |