● 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
| If you run | Upgrade to | Advisories |
|---|---|---|
| From 9.0.0 before 9.11.4 | 9.11.4 | 7 advisories |
| From 8.0.0-rc0 before 8.24.7 | 8.24.7 | 9 advisories |
| From 7.0.0-rc0 before 7.8.13 | 7.8.13 | 10 advisories |
| Before 6.13.12 | 6.13.12 | 14 advisories |
Security advisories, newest first
| Advisory | What it is | Affects | Fixed in | Published |
|---|---|---|---|---|
| CVE-2026-125116GHSA-wr5m-5jph-8m96 | Mongoose: Discriminator key values matching inherited properties (e.g. __t: 'constructor') bypass schema casting and can poison collectionsModerate severity | From 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.12 | 6.13.12, 7.8.13, 8.24.7, 9.11.4 | |
| CVE-2026-125117GHSA-8332-j7wj-wjw4 | Mongoose walks into inherited properties when hydrating, setting, and merging, allowing overwrites of built-in functions (denial of service) and shared schema stateHigh severity | From 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.12 | 6.13.12, 7.8.13, 8.24.7, 9.11.4 | |
| CVE-2026-125118GHSA-6972-9mcm-vhwj | Mongoose: Prototype pollution via Schema.prototype.virtual()Moderate severity | From 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.12 | 6.13.12, 7.8.13, 8.24.7, 9.11.4 | |
| CVE-2026-125119GHSA-gg4r-jv3p-qx3c | Mongoose: Connection-level sanitizeFilter not appliedHigh severity | From 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.12 | 6.13.12, 7.8.13, 8.24.7, 9.11.4 | |
| CVE-2026-125120GHSA-pcrw-h46h-c93h | Mongoose: sanitizeFilter not applied on countDocumentsCritical severity | From 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.11 | 6.13.11, 7.8.12, 8.24.3, 9.9.2 | |
| CVE-2026-73562GHSA-664h-wqgq-64gw | Mongoose: Prototype pollution in mongoose update casting via __proto__-prefixed dotted path (Schema._getSchema/path getter)Moderate severity | From 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.10 | 6.13.10, 7.8.10, 8.24.1, 9.7.2 | |
| CVE-2026-42334GHSA-wpg9-53fq-2r8h | Mongoose's Improper Sanitization of $nor in sanitizeFilter May Allow NoSQL InjectionHigh severity | From 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.9 | 6.13.9, 7.8.9, 8.22.1, 9.1.6 | |
| CVE-2025-23061GHSA-vg7j-7cwx-8wgw | Mongoose search injection vulnerabilityCritical severity | From 8.0.0-rc0 before 8.9.5; From 7.0.0-rc0 before 7.8.4; Before 6.13.6 | 6.13.6, 7.8.4, 8.9.5 | |
| CVE-2024-53900GHSA-m7xq-9374-9rvx | Mongoose search injection vulnerabilityHigh severity | From 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.23 | 5.13.23, 6.13.5, 7.8.3, 8.8.3 | |
| CVE-2023-3696GHSA-9m93-w8w6-76hh | Mongoose Prototype Pollution vulnerabilityCritical severity | From 7.0.0 before 7.3.3; From 6.0.0 before 6.11.3; Before 5.13.20 | 5.13.20, 6.11.3, 7.3.3 | |
| CVE-2022-24304GHSA-h8hf-x3f4-xwgp | Mongoose Vulnerable to Prototype Pollution in Schema ObjectCritical severity | From 6.0.0 before 6.4.6; Before 5.13.15 | 5.13.15, 6.4.6 | |
| CVE-2022-2564GHSA-f825-f98c-gj3g | automattic/mongoose vulnerable to Prototype pollution via Schema.pathHigh severity | From 6.0.0 before 6.4.6; Before 5.13.15 | 5.13.15, 6.4.6 | |
| GHSA-r5xw-q988-826m | Remote Memory Exposure in mongooseModerate severity | From 4.0.0 before 4.3.6; From 3.5.5 before 3.8.39 | 3.8.39, 4.3.6 | |
| CVE-2019-17426GHSA-8687-vv9j-hgph | Improper Input Validation in Automattic MongooseCritical severity | From 5.0.0 before 5.7.5; Before 4.13.21 | 4.13.21, 5.7.5 |
Sources
- Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0