Package · npm
mongoose
Every known advisory for the npm package mongoose, with the affected versions and how widely it is downloaded.
Advisories14
Malicious0
In CISA KEV0
Exposure9,491,162 downloads last week
Newest fixed version among these advisories: 9.11.4. Check your version against each range below.
| Advisory | Affected versions | Published |
|---|---|---|
| CVE-2026-125118 GHSA-6972-9mcm-vhwj Mongoose: Prototype pollution via Schema.prototype.virtual() | every version to 6.13.12 7.0.0 to 7.8.13 8.0.0 to 8.24.7 9.0.0 to 9.11.4 | 2026-11-10 |
| CVE-2026-125117 GHSA-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 state | every version to 6.13.12 7.0.0 to 7.8.13 8.0.0 to 8.24.7 9.0.0 to 9.11.4 | 2026-11-10 |
| CVE-2026-125119 GHSA-gg4r-jv3p-qx3c Mongoose: Connection-level sanitizeFilter not applied | 6.0.0 to 6.13.12 7.0.0 to 7.8.13 8.0.0 to 8.24.7 9.0.0 to 9.11.4 | 2026-11-10 |
| CVE-2026-125120 GHSA-pcrw-h46h-c93h Mongoose: sanitizeFilter not applied on countDocuments | every version to 6.13.11 7.0.0 to 7.8.12 8.0.0 to 8.24.3 9.0.0 to 9.9.2 | 2026-11-10 |
| CVE-2026-125116 GHSA-wr5m-5jph-8m96 Mongoose: Discriminator key values matching inherited properties (e.g. __t: 'constructor') bypass schema casting and can poison collections | every version to 6.13.12 7.0.0 to 7.8.13 8.0.0 to 8.24.7 9.0.0 to 9.11.4 | 2026-11-10 |
| CVE-2026-73562 GHSA-664h-wqgq-64gw Mongoose: Prototype pollution in mongoose update casting via __proto__-prefixed dotted path (Schema._getSchema/path getter) | every version to 6.13.10 7.0.0 to 7.8.10 8.0.0 to 8.24.1 9.0.0 to 9.7.2 | 2026-07-24 |
| CVE-2026-42334 GHSA-wpg9-53fq-2r8h Mongoose's Improper Sanitization of $nor in sanitizeFilter May Allow NoSQL Injection | every version to 6.13.9 7.0.0 to 7.8.9 8.0.0 to 8.22.1 9.0.0 to 9.1.6 | 2026-05-05 |
| CVE-2025-23061 GHSA-vg7j-7cwx-8wgw Mongoose search injection vulnerability | 8.0.0-rc0 to 8.9.5 7.0.0-rc0 to 7.8.4 every version to 6.13.6 | 2025-01-15 |
| CVE-2024-53900 GHSA-m7xq-9374-9rvx Mongoose search injection vulnerability | 8.0.0-rc0 to 8.8.3 7.0.0-rc0 to 7.8.3 6.0.0-rc0 to 6.13.5 3.6.0-rc0 to 5.13.23 | 2024-12-02 |
| CVE-2023-3696 GHSA-9m93-w8w6-76hh Mongoose Prototype Pollution vulnerability | 7.0.0 to 7.3.3 6.0.0 to 6.11.3 every version to 5.13.20 | 2023-07-17 |
| CVE-2022-24304 GHSA-h8hf-x3f4-xwgp Mongoose Vulnerable to Prototype Pollution in Schema Object | 6.0.0 to 6.4.6 every version to 5.13.15 | 2022-08-27 |
| CVE-2022-2564 GHSA-f825-f98c-gj3g automattic/mongoose vulnerable to Prototype pollution via Schema.path | 6.0.0 to 6.4.6 every version to 5.13.15 | 2022-07-29 |
| GHSA-r5xw-q988-826m Remote Memory Exposure in mongoose | 3.5.5 to 3.8.39 4.0.0 to 4.3.6 | 2020-09-01 |
| CVE-2019-17426 GHSA-8687-vv9j-hgph Improper Input Validation in Automattic Mongoose | 5.0.0 to 5.7.5 every version to 4.13.21 | 2019-10-22 |
Advisories from OSV (GitHub, PyPA, RustSec, Go, OpenSSF malicious packages and more). Scan a whole lockfile on the scan page. Most exposed packages.