mongoosejs CVE Vulnerabilities & Metrics

Focus on mongoosejs vulnerabilities and metrics.

Last updated: 16 Jun 2026, 22:25 UTC

About mongoosejs Security Exposure

This page consolidates all known Common Vulnerabilities and Exposures (CVEs) associated with mongoosejs. We track both calendar-based metrics (using fixed periods) and rolling metrics (using gliding windows) to give you a comprehensive view of security trends and risk evolution. Use these insights to assess risk and plan your patching strategy.

For a broader perspective on cybersecurity threats, explore the comprehensive list of CVEs by vendor and product. Stay updated on critical vulnerabilities affecting major software and hardware providers.

Global CVE Overview

Total mongoosejs CVEs: 6
Earliest CVE date: 10 Oct 2019, 02:05 UTC
Latest CVE date: 14 May 2026, 18:16 UTC

Latest CVE reference: CVE-2026-42334

Rolling Stats

30-day Count (Rolling): 0
365-day Count (Rolling): 1

Calendar-based Variation

Calendar-based Variation compares a fixed calendar period (e.g., this month versus the same month last year), while Rolling Growth Rate uses a continuous window (e.g., last 30 days versus the previous 30 days) to capture trends independent of calendar boundaries.

Variations & Growth

Month Variation (Calendar): -100.0%
Year Variation (Calendar): -50.0%

Month Growth Rate (30-day Rolling): -100.0%
Year Growth Rate (365-day Rolling): -50.0%

Monthly CVE Trends (current vs previous Year)

Annual CVE Trends (Last 20 Years)

Critical mongoosejs CVEs (CVSS ≥ 9) Over 20 Years

CVSS Stats

Average CVSS: 1.07

Max CVSS: 6.4

Critical CVEs (≥9): 0

CVSS Range vs. Count

Range Count
0.0-3.9 5
4.0-6.9 1
7.0-8.9 0
9.0-10.0 0

CVSS Distribution Chart

Top 5 Highest CVSS mongoosejs CVEs

These are the five CVEs with the highest CVSS scores for mongoosejs, sorted by severity first and recency.

All CVEs for mongoosejs

CVE-2026-42334 mongoosejs vulnerability CVSS: 0 14 May 2026, 18:16 UTC

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.

CVE-2025-23061 mongoosejs vulnerability CVSS: 0 15 Jan 2025, 05:15 UTC

Mongoose before 8.9.5 can improperly use a nested $where filter with a populate() match, leading to search injection. NOTE: this issue exists because of an incomplete fix for CVE-2024-53900.

CVE-2024-53900 mongoosejs vulnerability CVSS: 0 02 Dec 2024, 20:15 UTC

Mongoose before 8.8.3 can improperly use $where in match, leading to search injection.

CVE-2023-3696 mongoosejs vulnerability CVSS: 0 17 Jul 2023, 01:15 UTC

Prototype Pollution in GitHub repository automattic/mongoose prior to 7.3.4.

CVE-2022-2564 mongoosejs vulnerability CVSS: 0 28 Jul 2022, 20:15 UTC

Prototype Pollution in GitHub repository automattic/mongoose prior to 6.4.6.

CVE-2019-17426 mongoosejs vulnerability CVSS: 6.4 10 Oct 2019, 02:05 UTC

Automattic Mongoose through 5.7.4 allows attackers to bypass access control (in some applications) because any query object with a _bsontype attribute is ignored. For example, adding "_bsontype":"a" can sometimes interfere with a query filter. NOTE: this CVE is about Mongoose's failure to work around this _bsontype special case that exists in older versions of the bson parser (aka the mongodb/js-bson project).