THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-pcrw-h46h-c93h (critical) — Mongoose: sanitizeFilter not applied on countDocuments

[GHSA] GHSA-pcrw-h46h-c93h (critical) — Mongoose: sanitizeFilter not applied on countDocuments

medgithub_advisoriesPublished 2026-11-10

GHSA-pcrw-h46h-c93h Severity: critical CVE: CVE-2026-125120

Mongoose: sanitizeFilter not applied on countDocuments

### Impact

`sanitizeFilter` is Mongoose's mechanism for protecting against query selector injection attacks. In older versions of Mongoose, `sanitizeFilter` was not applied for `countDocuments()` queries.

### Patches

Patches have been released for all supported Mongoose major rel

MITRE ATT&CK techniques

Indicators of compromise

Original source: https://github.com/advisories/GHSA-pcrw-h46h-c93h