# mongoose (npm) vulnerabilities

7 known vulnerabilities (3 critical, 2 high, 1 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Weekly downloads: 8.9M
- Dependents: 1,602
- Registry: https://www.npmjs.com/package/mongoose

## Advisories (7)

### [CVE-2026-73562](https://cve.now/CVE-2026-73562): Mongoose: Prototype pollution in the update casting via proto-prefixed dotted path (Schema.\_getSchema/path getter)

- Severity: Medium 6.5
- Published: Aug 13, 2026
- Affected: fixed in 6.13.10; from 7.0.0, fixed in 7.8.10; from 8.0.0, fixed in 8.24.1; from 9.0.0, fixed in 9.7.2.

### [CVE-2026-42334](https://cve.now/CVE-2026-42334): Mongoose: Improper Sanitization of $nor in sanitizeFilter May Allow NoSQL Injection

- Severity: High 7.5
- Published: May 14, 2026
- Affected: fixed in 6.13.9; from 7.0.0, fixed in 7.8.9; from 8.0.0, fixed in 8.22.1; from 9.0.0, fixed in 9.1.6.

### [CVE-2025-23061](https://cve.now/CVE-2025-23061): Mongoose before 8.9.5 can improperly use a nested $where filter with a populate() match, leading to search injection.

- Severity: Critical 9.0
- Published: Jan 15, 2025
- Affected: from 8.0.0-rc0, fixed in 8.9.5; from 7.0.0-rc0, fixed in 7.8.4; fixed in 6.13.6.

### [CVE-2024-53900](https://cve.now/CVE-2024-53900): Mongoose before 8.8.3 can improperly use $where in match, leading to search injection.

- Severity: Critical 9.1
- Published: Dec 2, 2024
- Affected: from 8.0.0-rc0, fixed in 8.8.3; from 7.0.0-rc0, fixed in 7.8.3; from 6.0.0-rc0, fixed in 6.13.5; from 3.6.0-rc0, fixed in 5.13.23.

### [CVE-2023-3696](https://cve.now/CVE-2023-3696): Prototype Pollution in automattic/mongoose

- Severity: Critical 10.0
- Published: Jul 17, 2023
- Affected: from 7.0.0, fixed in 7.3.3; from 6.0.0, fixed in 6.11.3; fixed in 5.13.20.

### [CVE-2022-2564](https://cve.now/CVE-2022-2564): Prototype Pollution in automattic/mongoose

- Severity: High 7.0
- Published: Jul 28, 2022
- Affected: from 6.0.0, fixed in 6.4.6; fixed in 5.13.15.

### [CVE-2019-17426](https://cve.now/CVE-2019-17426): Automattic Mongoose through 5.7.4 allows attackers to bypass access control (in some applications) because any query object with a…

- Severity: Unrated
- Published: Oct 10, 2019
- Affected: from 5.0.0, fixed in 5.7.5; fixed in 4.13.21.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/npm/mongoose
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
