CISA list

● npm package

mongoose

Mongoose has 14 security advisories. The newest release any of them names as the fix is 9.11.4.

As of , mongoose has 14 security advisories. The newest release any of them names as the fix is 9.11.4.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
From 9.0.0 before 9.11.49.11.47 advisories
From 8.0.0-rc0 before 8.24.78.24.79 advisories
From 7.0.0-rc0 before 7.8.137.8.1310 advisories
Before 6.13.126.13.1214 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-125116GHSA-wr5m-5jph-8m96Mongoose: Discriminator key values matching inherited properties (e.g. __t: 'constructor') bypass schema casting and can poison collectionsModerate severityFrom 9.0.0 before 9.11.4; From 8.0.0 before 8.24.7; From 7.0.0 before 7.8.13; Before 6.13.126.13.12, 7.8.13, 8.24.7, 9.11.4
CVE-2026-125117GHSA-8332-j7wj-wjw4Mongoose walks into inherited properties when hydrating, setting, and merging, allowing overwrites of built-in functions (denial of service) and shared schema stateHigh severityFrom 9.0.0 before 9.11.4; From 8.0.0 before 8.24.7; From 7.0.0 before 7.8.13; Before 6.13.126.13.12, 7.8.13, 8.24.7, 9.11.4
CVE-2026-125118GHSA-6972-9mcm-vhwjMongoose: Prototype pollution via Schema.prototype.virtual()Moderate severityFrom 9.0.0 before 9.11.4; From 8.0.0 before 8.24.7; From 7.0.0 before 7.8.13; Before 6.13.126.13.12, 7.8.13, 8.24.7, 9.11.4
CVE-2026-125119GHSA-gg4r-jv3p-qx3cMongoose: Connection-level sanitizeFilter not appliedHigh severityFrom 9.0.0 before 9.11.4; From 8.0.0 before 8.24.7; From 7.0.0 before 7.8.13; From 6.0.0 before 6.13.126.13.12, 7.8.13, 8.24.7, 9.11.4
CVE-2026-125120GHSA-pcrw-h46h-c93hMongoose: sanitizeFilter not applied on countDocumentsCritical severityFrom 9.0.0 before 9.9.2; From 8.0.0 before 8.24.3; From 7.0.0 before 7.8.12; Before 6.13.116.13.11, 7.8.12, 8.24.3, 9.9.2
CVE-2026-73562GHSA-664h-wqgq-64gwMongoose: Prototype pollution in mongoose update casting via __proto__-prefixed dotted path (Schema._getSchema/path getter)Moderate severityFrom 9.0.0 before 9.7.2; From 8.0.0 before 8.24.1; From 7.0.0 before 7.8.10; Before 6.13.106.13.10, 7.8.10, 8.24.1, 9.7.2
CVE-2026-42334GHSA-wpg9-53fq-2r8hMongoose's Improper Sanitization of $nor in sanitizeFilter May Allow NoSQL InjectionHigh severityFrom 9.0.0 before 9.1.6; From 8.0.0 before 8.22.1; From 7.0.0 before 7.8.9; Before 6.13.96.13.9, 7.8.9, 8.22.1, 9.1.6
CVE-2025-23061GHSA-vg7j-7cwx-8wgwMongoose search injection vulnerabilityCritical severityFrom 8.0.0-rc0 before 8.9.5; From 7.0.0-rc0 before 7.8.4; Before 6.13.66.13.6, 7.8.4, 8.9.5
CVE-2024-53900GHSA-m7xq-9374-9rvxMongoose search injection vulnerabilityHigh severityFrom 8.0.0-rc0 before 8.8.3; From 7.0.0-rc0 before 7.8.3; From 6.0.0-rc0 before 6.13.5; From 3.6.0-rc0 before 5.13.235.13.23, 6.13.5, 7.8.3, 8.8.3
CVE-2023-3696GHSA-9m93-w8w6-76hhMongoose Prototype Pollution vulnerabilityCritical severityFrom 7.0.0 before 7.3.3; From 6.0.0 before 6.11.3; Before 5.13.205.13.20, 6.11.3, 7.3.3
CVE-2022-24304GHSA-h8hf-x3f4-xwgpMongoose Vulnerable to Prototype Pollution in Schema ObjectCritical severityFrom 6.0.0 before 6.4.6; Before 5.13.155.13.15, 6.4.6
CVE-2022-2564GHSA-f825-f98c-gj3gautomattic/mongoose vulnerable to Prototype pollution via Schema.pathHigh severityFrom 6.0.0 before 6.4.6; Before 5.13.155.13.15, 6.4.6
GHSA-r5xw-q988-826mRemote Memory Exposure in mongooseModerate severityFrom 4.0.0 before 4.3.6; From 3.5.5 before 3.8.393.8.39, 4.3.6
CVE-2019-17426GHSA-8687-vv9j-hgphImproper Input Validation in Automattic MongooseCritical severityFrom 5.0.0 before 5.7.5; Before 4.13.214.13.21, 5.7.5

Other npm packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0