Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-42334: CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') in Automattic mongoose

0
High
VulnerabilityCVE-2026-42334cvecve-2026-42334cwe-74
Published: Thu May 14 2026 (05/14/2026, 18:03:43 UTC)
Source: CVE Database V5
Vendor/Project: Automattic
Product: mongoose

Description

A vulnerability in Automattic's mongoose prior to versions 6. 13. 9, 7. 8. 9, 8. 22. 1, and 9. 1. 6 allows bypassing the sanitizeFilter query sanitization via the $nor operator. This occurs because $nor was not recursively sanitized, enabling injection of malicious query operators inside $nor clauses.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/14/2026, 18:36:40 UTC

Technical Analysis

Mongoose, a MongoDB object modeling tool, had a vulnerability (CVE-2026-42334) where its sanitizeFilter mechanism failed to sanitize the $nor logical operator. While sanitizeFilter wraps query operators in $eq to neutralize them, $nor was omitted from recursive sanitization. Since $nor accepts arrays and arrays do not trigger the hasDollarKeys() check, attackers could inject operators like $ne, $gt, or $regex inside $nor clauses, bypassing sanitization. This flaw was addressed in mongoose versions 6.13.9, 7.8.9, 8.22.1, and 9.1.6.

Potential Impact

The vulnerability allows an attacker to bypass mongoose's query sanitization, potentially enabling injection of malicious query operators that could lead to unauthorized data disclosure. The CVSS score of 7.5 indicates a high severity impact on confidentiality. There is no indication of impact on integrity or availability. No known exploits are reported in the wild at this time.

Mitigation Recommendations

A fix is available in mongoose versions 6.13.9, 7.8.9, 8.22.1, and 9.1.6. Users should upgrade to these or later versions to remediate the vulnerability. Patch status is not explicitly stated in a vendor advisory, but the fixed versions are clearly identified. No additional mitigation steps are specified.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-26T13:26:14.514Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a0612baec166c07b0023457

Added to database: 5/14/2026, 6:21:46 PM

Last enriched: 5/14/2026, 6:36:40 PM

Last updated: 5/14/2026, 7:28:45 PM

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses