THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-gg4r-jv3p-qx3c (high) — Mongoose: Connection-level sanitizeFilter not applied

[GHSA] GHSA-gg4r-jv3p-qx3c (high) — Mongoose: Connection-level sanitizeFilter not applied

medgithub_advisoriesPublished 2026-11-10

GHSA-gg4r-jv3p-qx3c Severity: high CVE: CVE-2026-125119

Mongoose: Connection-level sanitizeFilter not applied

### Summary

sanitizeFilter exists to stop query selector injection: it wraps operator objects such as `{ $ne: null }` in filter values in `$eq`, so they are matched literally. Set on a connection with `mongoose.connect()` or `createConnection(uri, { sanitizeFilter: true })`, the connect

MITRE ATT&CK techniques

Indicators of compromise

Original source: https://github.com/advisories/GHSA-gg4r-jv3p-qx3c