Is mongoose 6.13 vulnerable?
npm · 13 releases from 6.13.0 to 6.13.12 · latest mongoose is 9.11.4 · checked 2 Nov 2026
No known advisories in the last release
mongoose 6.13.12, the last 6.13 release, has no known advisories. 4 advisories affect earlier 6.13.x releases, so update to 6.13.12.
npm install mongoose@6.13.12Fixed within 6.13.x, affecting earlier releases
Mongoose: Prototype pollution in mongoose update casting via __proto__-prefixed dotted path (Schema._getSchema/path getter)
- Affected
- <6.13.10 · >=7.0.0 <7.8.10 · >=8.0.0 <8.24.1 · >=9.0.0 <9.7.2
- Fixed in
- 6.13.10, 7.8.10, 8.24.1, 9.7.2
Mongoose's Improper Sanitization of $nor in sanitizeFilter May Allow NoSQL Injection
- Affected
- <6.13.9 · >=7.0.0 <7.8.9 · >=8.0.0 <8.22.1 · >=9.0.0 <9.1.6
- Fixed in
- 6.13.9, 7.8.9, 8.22.1, 9.1.6
Mongoose search injection vulnerability
- Affected
- >=8.0.0-rc0 <8.9.5 · >=7.0.0-rc0 <7.8.4 · <6.13.6
- Fixed in
- 6.13.6, 7.8.4, 8.9.5
Mongoose search injection vulnerability
- Affected
- >=8.0.0-rc0 <8.8.3 · >=7.0.0-rc0 <7.8.3 · >=6.0.0-rc0 <6.13.5 · >=3.6.0-rc0 <5.13.23
- Fixed in
- 5.13.23, 6.13.5, 7.8.3, 8.8.3
Which of your client projects are still on mongoose 6.13?
NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact mongoose version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.
Other mongoose versions
Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the npm registry. Refreshed daily.