7.5

CVE-2026-42334: Mongoose: Improper Sanitization of $nor in sanitizeFilter May Allow NoSQL Injection

Analyzed
AliasesGHSA-wpg9-53fq-2r8hBIT-mongoose-2026-42334
Published 14-05-2026Last modified 14-05-2026

Vulnerability summary

CVE-2026-42334 is a high (CVSS 7.5) vulnerability in automattic mongoose. EPSS estimates a 0.27% chance of exploitation in the next 30 days, higher than 21.1% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.27%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 14-05-2026
    PublishedVulnerability first disclosed.
  2. 14-05-2026
    Last 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

EPSS trend

Probability

0.27%

Chance of exploitation in the next 30 days

Percentile

21%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.27% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

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