Is mongoose 7.8 vulnerable?

npm · 14 releases from 7.8.0 to 7.8.13 · latest mongoose is 9.11.4 · checked 1 Nov 2026

No known advisories in the last release

mongoose 7.8.13, the last 7.8 release, has no known advisories. 4 advisories affect earlier 7.8.x releases, so update to 7.8.13.

Update within 7.8:npm install mongoose@7.8.13

Is your project affected?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Fixed within 7.8.x, affecting earlier releases

  • MediumCVE-2026-73562GHSA-664h-wqgq-64gw24 Jul 2026

    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
  • HighCVE-2026-42334GHSA-wpg9-53fq-2r8h5 May 2026

    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
  • CriticalCVE-2025-23061GHSA-vg7j-7cwx-8wgw15 Jan 2025

    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
  • HighCVE-2024-53900GHSA-m7xq-9374-9rvx2 Dec 2024

    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 7.8?

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.