Skip to main content
npm (Node.js)

mongoose Known Vulnerabilities & Fixes

mongoose has 5 known security vulnerabilities in npm (Node.js). Upgrade to version 9.11.4 or later to resolve all known issues. Data sourced from OSV, enriched with EPSS exploit probability and CISA KEV.

5 Vulnerabilities

Low Immediate Risk

No actively exploited vulnerabilities detected. Monitor and update in your next maintenance window.

Recommended safe version: 9.11.4

Upgrading to 9.11.4 or later resolves all 5 known vulnerabilities in mongoose. Run: npm install mongoose@9.11.4

Is mongoose in your project?

Check if you're affected and upgrade to 9.11.4 to stay secure.

5
Total
3
Critical
2
High
0
Medium
0
Low

Security Summary

  • 18 affected version ranges have been identified across these 5 advisories.
  • 100% of known issues have a published fixed version.
  • Highest exploit-probability (EPSS) score for mongoose: 4.3%.
  • Remediation: npm update mongoose

Vulnerabilities

5 unique vulnerabilities — sorted by exploitation risk (KEV → EPSS → CVSS). Click a CVE/GHSA ID for full details. First disclosed Jul 17, 2023, most recently Nov 10, 2026 (1213 days apart).

CVE / GHSASeverity
CVE-2025-23061
Mongoose search injection vulnerability
Affected
All versions
Fixed in
8.9.5, 7.8.4, 6.13.6
CRITICAL
CVE-2024-53900
Mongoose search injection vulnerability
Affected
All versions
Fixed in
8.8.3, 7.8.3, 6.13.5 (+1 more)
HIGH
CVE-2023-3696
Mongoose Prototype Pollution vulnerability
Affected
All versions
Fixed in
7.3.3, 6.11.3, 5.13.20
CRITICAL
CVE-2026-125120
Mongoose: sanitizeFilter not applied on countDocuments
Affected
All versions
Fixed in
6.13.11, 7.8.12, 8.24.3 (+1 more)
CRITICAL
CVE-2026-125117
Mongoose walks into inherited properties when hydrating, setting, and merging, allowing overwrites of built-in functions (denial of service) and shared schema state
Affected
All versions
Fixed in
6.13.12, 7.8.13, 8.24.7 (+1 more)
HIGH

About This Data

Vulnerability data for mongoose is sourced from the Open Source Vulnerability (OSV) database, aggregating reports from GitHub Advisory Database, NIST NVD, and ecosystem-specific sources.

CVSS (Common Vulnerability Scoring System) scores reflect exploitability and impact. EPSS (Exploit Prediction Scoring System) scores indicate the probability of exploitation within the next 30 days. Vulnerabilities marked with are listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.

Related npm (Node.js) Packages

Other packages in this ecosystem, ranked by shared vulnerabilities where available.

Check Your Dependencies

Scan your project to check if you're using a vulnerable version of mongoose.

Data from OSV DatabaseUpdated daily200K+ vulnerabilities indexed