Skip to main content
VulnerabilityPublished

CVE-2026-125120: Mongoose · sanitizeFilter not applied on countDocuments

Affects mongooseSource GCVE Database

0
Compare
Authoritative record:CVE-2026-125120· Critical 9.8

Not known to be exploited · CVSS 9.8 Critical · fixed in 9.9.2 : patch mongoose as a priority.

Data as of 27 Nov 2026, 08:27 UTC

CVSS 3.1 base score
9.8Critical
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.19.8
Patch
Available – fixed in 9.9.2, 8.24.3, 7.8.12 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Bitnamimongoosepkg:bitnami/mongooseOther threatsAffected
  • <6.13.11
  • >=7.0.0 <7.8.12
  • >=8.0.0 <8.24.3
  • >=9.0.0 <9.9.2
Fixed in
  • 6.13.11
  • 7.8.12
  • 8.24.3
  • 9.9.2
npmmongoosepkg:npm/mongooseOther threatsAffected
  • <6.13.11
Fixed in
  • 6.13.11
npmmongoosepkg:npm/mongooseOther threatsAffected
  • >=7.0.0 <7.8.12
Fixed in
  • 7.8.12
npmmongoosepkg:npm/mongooseOther threatsAffected
  • >=8.0.0 <8.24.3
Fixed in
  • 8.24.3
npmmongoosepkg:npm/mongooseOther threatsAffected
  • >=9.0.0 <9.9.2
Fixed in
  • 9.9.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Mongoose to version 6.13.11, 7.8.12, 8.24.3, or 9.9.2 or later, where this vulnerability is fixed. No additional mitigation is required once patched.

Description

Mongoose versions prior to 6.13.11, 7.8.12, 8.24.3, and 9.9.2 do not apply the sanitizeFilter defense on countDocuments queries. This allows attacker-controlled filter values to be interpreted as query operators rather than literals, potentially causing unauthorized inclusion of documents in counts. The issue is fixed in the specified versions.

References

Community reviews

Loading reviews…