// Security Advisory Triage

Mongoose connection-level sanitizeFilter bypass in versions 6-9

GitHub advisories — npm · published 2026-11-14 06:26 UTC
ACTION NEEDED PATCH_NOW SECURITY
WHAT CHANGEDGitHub published GHSA-gg4r-jv3p-qx3c on 10 November 2026, a high-severity advisory for CVE-2026-125119 affecting mongoose versions 6.x through 9.x. Connection-level sanitizeFilter settings are not applied, creating a bypass. Patched versions are 6.13.12, 7.8.13, 8.24.7, and 9.11.4.
WHY IT MATTERSApplications relying on connection-level sanitizeFilter to prevent NoSQL injection are not protected. Untrusted input reaching query operations can manipulate database queries despite the configured filter.
WHAT TO DOUpdate mongoose to 6.13.12, 7.8.13, 8.24.7, or 9.11.4 depending on your major version. If you cannot update immediately, verify that query-level sanitization is in place for all user input reaching mongoose operations.
Model-reported confidence 85% (not measured accuracy) Primary source ↗ written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-gg4r-jv3p-qx3c
+summary: Mongoose: Connection-level sanitizeFilter not applied
+severity: high
+published_at: 2026-11-10T19:56:12Z
+cve_id: CVE-2026-125119
+vulnerabilities[].package.name: mongoose, mongoose, mongoose, mongoose
+vulnerabilities[].first_patched_version: 6.13.12, 7.8.13, 8.24.7, 9.11.4
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMATERIAL at 0.78, needed 0.5
triage reasoningMongoose is a standard Node.js dependency. Sanitization bypass is a known attack vector requiring patching.
signalsnew advisory published · high severity rating · mongoose is a widely-used Node.js ODM in dependency trees · connection-level sanitizeFilter bypass suggests injection or NoSQL attack surface · multiple major versions affected (6, 7, 8, 9) with patched versions available
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)