CVE-2026-125120: Automattic mongoose · Improper Neutralization of Special Elements in Data Query Logic
Affects Automattic mongooseSource CVE Database V5
Not known to be exploited · CVSS 9.8 Critical · fixed in 9.9.2 : patch Automattic mongoose as a priority.
Data as of 9 Nov 2026, 22:49 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 9.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:HExploitation evidence
Disclosed: evidence found.
CVE published 9 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 9 Nov 2026.
What to do
Upgrade Automattic mongoose to 9.9.2, 8.24.3, 7.8.12 or 6.13.11.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Automatticmongoose | Affected
| Fixed in
|
| Automatticmongoose | Affected
| Fixed in
|
| Automatticmongoose | Affected
| Fixed in
|
| Automatticmongoose | Affected
| Fixed in
|
AI-suggested
Upgrade Mongoose to version 6.13.11, 7.8.12, 8.24.3, or 9.9.2 or later, where the sanitizeFilter defense in countDocuments() is properly applied. No other mitigation is indicated or required as the issue is fixed in these releases.
Description
Mongoose versions prior to 6.13.11, 7.8.12, 8.24.3, and 9.9.2 contain a vulnerability in the countDocuments() function where the sanitizeFilter defense is not applied. This allows attacker-controlled filter values to be interpreted as query operators rather than literal values, potentially causing unauthorized inclusion of documents in query results. The issue is fixed in the specified versions.
References
- github.com/Automattic/mongoose/security/advisories/GHSA-pcrw-h46h-c93h (opens in a new tab)
- github.com/Automattic/mongoose/commit/7e912af3fac52cb0eea4cd71e24d65318916831a (opens in a new tab)
- github.com/Automattic/mongoose/commit/8b10d5760bb181f5bf5d01495cde161c8aed0557 (opens in a new tab)
- github.com/Automattic/mongoose/commit/b1df045aab076b740fdaec14a15a44c694b85b7d (opens in a new tab)
- github.com/Automattic/mongoose/commit/b5003d3915db1cf9209c38a4b93cf3a92cddd710 (opens in a new tab)
- github.com/Automattic/mongoose/releases/tag/6.13.11 (opens in a new tab)
- github.com/Automattic/mongoose/releases/tag/7.8.12 (opens in a new tab)
- github.com/Automattic/mongoose/releases/tag/8.24.3 (opens in a new tab)
- github.com/Automattic/mongoose/releases/tag/9.9.2 (opens in a new tab)