{"id":"CVE-2026-42334","revision":"5025b44f1eb54d1ebed3f1abd8e05a9e","records":[{"revision":"5025b44f1eb54d1ebed3f1abd8e05a9e","observedAt":"2026-10-25T10:17:10.603+00:00","statement":{"source":"nvd","id":"CVE-2026-42334","aliases":[],"title":"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 oper…","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.","state":0,"publishedAt":"2026-05-14T18:16:47.747+00:00","modifiedAt":"2026-06-17T10:47:42.1+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"severity":"HIGH"}],"references":["https://github.com/Automattic/mongoose/security/advisories/GHSA-wpg9-53fq-2r8h"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-42334","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-74"],"productCriteria":["cpe:2.3:a:mongoosejs:mongoose:*:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2026-05-14T18:16:47.747","lastModified":"2026-06-17T10:47:42.100"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-42334","identifiers":["CVE-2026-42334"]},"retained":false,"historicalAffected":[]}],"coverage":[]}