Back to CVE records
High 7.5Published May 14, 2026

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

Updated under an hour ago ()

Does this affect you?

It affects Automattic mongoose and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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
7.5 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness (CWE)
CWE-74
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Analyzed
Record last updated
May 14, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
Automattic mongoose
automattic:mongoose (from the name)
before 6.13.9; from 7.0.0, <= 7.8.8; from 8.0.0, <= 8.22.0; from 9.0.0, <= 9.1.5
CNA record
mongoosejs mongoose
mongoosejs:mongoose
before 6.13.9; from 7.0.0 before 7.8.9; from 8.0.0 before 8.22.1; from 9.0.0 before 9.1.6
NVD

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.