Is mongoose healthy, maintained, and safe?
No — mongoose carries 4 unpatched critical advisories and should not be adopted without a remediation plan.
The verdict
OSPulse scores mongoose at 55/100 (medium risk), computed deterministically from live npm release history, maintainer data, and the OSV vulnerability database. No — mongoose carries 4 unpatched critical advisories and should not be adopted without a remediation plan.
Its most recent release shipped on 27 July 2026 — 1 days ago — so development is clearly active. Across 1019 releases the cadence has been steady, which is a good sign of an ongoing maintenance rhythm. 3 maintainers are listed on npm, so the project isn't hostage to any single contributor.
OSV lists 9 known advisories for mongoose, including 4 critical and 3 high. Open critical advisories are the strongest possible signal to pin to a patched version, replace, or fork before shipping. Each advisory is listed with its OSV/GHSA identifier below.
mongoose is usable but carries real signals — pin versions, watch for new advisories, and keep a fallback in mind. This is a one-time snapshot of a single package — real projects depend on dozens or hundreds of packages, and any one of them can drift or be compromised between releases. Run your own package.json through the free health check, or have OSPulse monitor your whole dependency tree continuously.
Evidence trail — deterministic, auditable
Known vulnerabilities (9)
- GHSA-664h-wqgq-64gw ↗MODERATE
Mongoose: Prototype pollution in mongoose update casting via __proto__-prefixed dotted path (Schema._getSchema/path getter)
Improper Input Validation in Automattic Mongoose
Mongoose Prototype Pollution vulnerability
automattic/mongoose vulnerable to Prototype pollution via Schema.path
Mongoose Vulnerable to Prototype Pollution in Schema Object
Mongoose search injection vulnerability
- GHSA-r5xw-q988-826m ↗MODERATE
Remote Memory Exposure in mongoose
Mongoose search injection vulnerability
Mongoose's Improper Sanitization of $nor in sanitizeFilter May Allow NoSQL Injection
Key facts
- Latest version
- v9.8.1
- Last release
- 27 July 2026 (1 days ago)
- Total releases
- 1019
- First release
- 20 December 2010
- Package age
- 15.6 years
- Maintainers
- 3
- Known advisories
- 9
- Confidence
- High
Frequently asked
Is mongoose still maintained?
Yes — mongoose released as recently as 27 July 2026 (1 days ago), so it is actively maintained.
Does mongoose have known security vulnerabilities?
Yes — OSV lists 9 advisories for mongoose, including 4 rated critical. See the advisory list on this page for the OSV/GHSA identifiers.
Is mongoose safe to use?
No — mongoose carries 4 unpatched critical advisories and should not be adopted without a remediation plan. OSPulse rates it 55/100 (medium risk) based on release recency, cadence, maintainer bus factor and known vulnerabilities.
Other npm packages we've checked
mongoose is one package. What about the other hundreds in your tree?
Paste your own package.json into the free health check for an instant snapshot — or let OSPulse monitor your whole dependency tree continuously, before your CVE scanner wakes up.
Data from the npm registry & OSV.dev · snapshot generated 2026-07-28 · scores are deterministic and recomputed on each refresh.
