9.8

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

Awaiting analysis
AliasesGHSA-pcrw-h46h-c93hBIT-mongoose-2026-125120
Published 09-11-2026Last modified 13-11-2026

Vulnerability summary

CVE-2026-125120 is a critical (CVSS 9.8) vulnerability in automattic mongoose. EPSS estimates a 0.75% chance of exploitation in the next 30 days, higher than 56.3% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
9.8/10
010
Critical · v3.1 (CVE.org)
EPSS score
0.75%
0%100%
Low · Change unavailable
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 09-11-2026
    PublishedVulnerability first disclosed.
  2. 13-11-2026
    Last modifiedVulnerability information updated.

Description

Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Prior to 6.13.11, 7.8.12, 8.24.3, and 9.9.2, Mongoose countDocuments() does not apply the configured sanitizeFilter query selector injection defense. An application that enables sanitizeFilter and passes attacker-controlled filter values to countDocuments() can therefore process query operator objects as operators rather than literal values, causing the count to include documents that should not match and potentially undermining authorization or application logic based on that count. This issue is fixed in versions 6.13.11, 7.8.12, 8.24.3, and 9.9.2.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.75%

Chance of exploitation in the next 30 days

Percentile

56%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

10-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Automattic1 product
  • mongoose< 6.13.11 | ≥ 7.0.0, < 7.8.12 | ≥ 8.0.0, < 8.24.3 | ≥ 9.0.0, < 9.9.2
Npm1 product
  • mongoose< 6.13.11 | ≥ 7.0.0, < 7.8.12 | ≥ 8.0.0, < 8.24.3 | ≥ 9.0.0, < 9.9.2

2 vendors · 2 products

References

11 links
Show all 11 references